annotate leim/Makefile.in @ 26473:762c51f4a100

(unexec): Handle .rel.dyn section.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 17 Nov 1999 20:58:06 +0000
parents d7313d5217e2
children b0a32b2a7f46
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1 # Makefile for leim subdirectory in GNU Emacs.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2 # Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
3 # Licensed to the Free Software Foundation.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
4
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
5 # This file is part of GNU Emacs.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7 # GNU Emacs is free software; you can redistribute it and/or modify
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8 # it under the terms of the GNU General Public License as published by
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9 # the Free Software Foundation; either version 2, or (at your option)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10 # any later version.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11 #
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12 # GNU Emacs is distributed in the hope that it will be useful,
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 # GNU General Public License for more details.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 #
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 # along with GNU Emacs; see the file COPYING. If not, write to the
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20 # Boston, MA 02111-1307, USA.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22 # Avoid trouble on systems where the `SHELL' variable might be
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 # inherited from the environment.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24 SHELL = /bin/sh
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26 # Here are the things that we expect ../configure to edit.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27 version=@version@
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
28 prefix=@prefix@
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
29 datadir=@datadir@
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30 srcdir=@srcdir@
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
31
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
32 # Where to install LEIM files.
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33 INSTALLDIR=${datadir}/emacs/${version}/leim
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
34
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
35 # On Xenix and the IBM RS6000, double-dot gets screwed up.
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
36 dot = .
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
37
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
38 # Which Emacs to use to convert TIT files to Emacs Lisp files,
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
39 # byte-compile Emacs Lisp files, and generate the file leim-list.el.
21129
6e9dd8a366f5 (BUILT-EMACS): Variable renamed from EMACS. All uses changed.
Richard M. Stallman <rms@gnu.org>
parents: 21080
diff changeset
40 BUILT-EMACS = ${dot}${dot}/src/emacs
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
41
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
42 buildlisppath=${srcdir}/${dot}${dot}/lisp
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
43
19262
6075ee381a9d Invoke emacs by --no-init-file --no-site-file.
Kenichi Handa <handa@m17n.org>
parents: 19151
diff changeset
44 # How to run Emacs.
22427
ebca04b684de (RUN-EMACS): Add --multibyte.
Richard M. Stallman <rms@gnu.org>
parents: 21835
diff changeset
45 RUN-EMACS = ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
46
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
47 # Subdirectories to be made if ${srcdir} is different from the current
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
48 # directory.
19604
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
49 SUBDIRS=quail
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
50
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
51 # Files generated from TIT dictionaries for Chinese GB character set.
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
52 TIT-GB=\
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
53 quail/CTLau.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
54 quail/CCDOSPY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
55 quail/Punct.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
56 quail/PY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
57 quail/QJ.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
58 quail/SW.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
59 quail/TONEPY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
60 quail/ZIRANMA.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
61
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
62 # Files generated from TIT dictionaries for Chinese BIG5 character set.
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
63 TIT-BIG5=\
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
64 quail/4Corner.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
65 quail/ARRAY30.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
66 quail/CTLauB.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
67 quail/ECDICT.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
68 quail/ETZY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
69 quail/Punct-b5.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
70 quail/PY-b5.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
71 quail/QJ-b5.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
72 quail/ZOZY.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
73
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
74 CHINESE-TIT=${TIT-GB} ${TIT-BIG5}
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
75
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
76 NON-TIT-GB=${srcdir}/quail/py-punct.el
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
77
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
78 NON-TIT-BIG5=${srcdir}/quail/quick-b5.el ${srcdir}/quail/tsang-b5.el \
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
79 ${srcdir}/quail/pypunct-b5.el
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
80
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
81 NON-TIT-CNS=${srcdir}/quail/quick-cns.el ${srcdir}/quail/tsang-cns.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
82
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
83 CHINESE-NON-TIT=${NON-TIT-GB} ${NON-TIT-BIG5} ${NON-TIT-CNS}
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
84
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
85 CHINESE-GB=${TIT-GB} ${NON-TIT-GB}
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
86
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
87 CHINESE-BIG5=${TIT-BIG5} ${NON-TIT-BIG5}
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
88
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
89 CHINESE-CNS=${NON-TIT-CNS}
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
90
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
91 JAPANESE=${srcdir}/quail/japanese.el ${srcdir}/skk/skkdic.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
92
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
93 KOREAN= ${srcdir}/quail/hangul.el \
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
94 ${srcdir}/quail/hangul3.el \
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
95 ${srcdir}/quail/hanja.el \
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
96 ${srcdir}/quail/hanja-jis.el \
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
97 ${srcdir}/quail/symbol-ksc.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
98
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
99 THAI=${srcdir}/quail/thai.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
100
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
101 VIETNAMESE=${srcdir}/quail/viqr.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
102
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
103 LAO=${srcdir}/quail/lao.el ${srcdir}/quail/lrt.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
104
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
105 INDIAN=${srcdir}/quail/devanagari.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
106
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
107 TIBETAN=${srcdir}/quail/tibetan.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
108
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
109 LATIN=${srcdir}/quail/latin-pre.el ${srcdir}/quail/latin-post.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
110
21667
3b7a5bd28364 (SLAVIC): New macro.
Kenichi Handa <handa@m17n.org>
parents: 21508
diff changeset
111 SLAVIC= \
3b7a5bd28364 (SLAVIC): New macro.
Kenichi Handa <handa@m17n.org>
parents: 21508
diff changeset
112 ${srcdir}/quail/czech.el \
21835
f1df0fd84e42 (SLAVIC): Delete redundant backslash.
Karl Heuer <kwzh@gnu.org>
parents: 21808
diff changeset
113 ${srcdir}/quail/slovak.el
21667
3b7a5bd28364 (SLAVIC): New macro.
Kenichi Handa <handa@m17n.org>
parents: 21508
diff changeset
114
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
115 GREEK=${srcdir}/quail/greek.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
116
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
117 RUSSIAN=${srcdir}/quail/cyrillic.el ${srcdir}/quail/cyril-jis.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
118
24042
d7313d5217e2 (MISC): Add ${srcdir}/quail/hebrew.el.
Kenichi Handa <handa@m17n.org>
parents: 23477
diff changeset
119 MISC= \
d7313d5217e2 (MISC): Add ${srcdir}/quail/hebrew.el.
Kenichi Handa <handa@m17n.org>
parents: 23477
diff changeset
120 ${srcdir}/quail/ethiopic.el \
d7313d5217e2 (MISC): Add ${srcdir}/quail/hebrew.el.
Kenichi Handa <handa@m17n.org>
parents: 23477
diff changeset
121 ${srcdir}/quail/ipa.el \
d7313d5217e2 (MISC): Add ${srcdir}/quail/hebrew.el.
Kenichi Handa <handa@m17n.org>
parents: 23477
diff changeset
122 ${srcdir}/quail/hebrew.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
123
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
124 CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
125 EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN}
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
126 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN}
21667
3b7a5bd28364 (SLAVIC): New macro.
Kenichi Handa <handa@m17n.org>
parents: 21508
diff changeset
127 EUROPEAN=${LATIN} ${SLAVIC} ${GREEK} ${RUSSIAN}
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
128 WORLD=${ASIA} ${EUROPEAN} ${MISC}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
129
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
130 TIT=${CHINESE-TIT}
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
131 NON-TIT=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${MISC}
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
132
21129
6e9dd8a366f5 (BUILT-EMACS): Variable renamed from EMACS. All uses changed.
Richard M. Stallman <rms@gnu.org>
parents: 21080
diff changeset
133 all: ${BUILT-EMACS} ${SUBDIRS} ${TIT} leim-list.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
134
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
135 # To ensure that we can run Emacs. This target is ignored (never
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
136 # being hit) if a user changes default value of EMACS.
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
137 ${dot}${dot}/src/emacs:
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
138 cd ../src; ${MAKE} ${MFLAGS} emacs
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
139
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
140 ${SUBDIRS}:
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
141 mkdir $@
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
142 touch stamp-subdir
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
143
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
144 # Rule to generate quail/*.el from CXTERM-DIC/*.tit.
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
145 ${TIT}:
21300
7662be098677 (${TIT}): Fix shell conditional syntax.
Richard M. Stallman <rms@gnu.org>
parents: 21129
diff changeset
146 if [ -d quail ]; then true; else make quail; fi
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
147 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
148 --eval '(batch-titdic-convert t)' -dir quail ${srcdir}/CXTERM-DIC
21080
c3f53005d2d9 (${TIT}): To byte-compile quail packages, use just built quail.
Richard M. Stallman <rms@gnu.org>
parents: 19862
diff changeset
149 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
c3f53005d2d9 (${TIT}): To byte-compile quail packages, use just built quail.
Richard M. Stallman <rms@gnu.org>
parents: 19862
diff changeset
150 -f batch-byte-compile ${TIT}
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
151
21508
f1141710efad Prepend ${srcdir} to all non-TIT lisp file names.
Andreas Schwab <schwab@suse.de>
parents: 21300
diff changeset
152 leim-list.el: ${SUBDIRS} ${WORLD}
23477
d470109824f2 (leim-list.el): Use `(cd foo && pwd)` instead of `(cd foo; pwd)`.
Kenichi Handa <handa@m17n.org>
parents: 22427
diff changeset
153 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
19604
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
154 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
155 --eval "(update-leim-list-file \".\")" ; \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
156 else \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
157 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
158 --eval "(update-leim-list-file \".\" \"${srcdir}\")" ; \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
159 fi
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
160
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
161 install: all
23477
d470109824f2 (leim-list.el): Use `(cd foo && pwd)` instead of `(cd foo; pwd)`.
Kenichi Handa <handa@m17n.org>
parents: 22427
diff changeset
162 if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \
19457
354d9588342d (install): Just copy leim-list.el instead of running
Kenichi Handa <handa@m17n.org>
parents: 19262
diff changeset
163 rm -rf ${INSTALLDIR}/leim-list.el; \
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
164 rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/skk ; \
19457
354d9588342d (install): Just copy leim-list.el instead of running
Kenichi Handa <handa@m17n.org>
parents: 19262
diff changeset
165 echo "Copying leim files to ${INSTALLDIR} ..." ; \
23477
d470109824f2 (leim-list.el): Use `(cd foo && pwd)` instead of `(cd foo; pwd)`.
Kenichi Handa <handa@m17n.org>
parents: 22427
diff changeset
166 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
19740
c7d76a23d1eb (install): Copy `skk' subdirectory too.
Kenichi Handa <handa@m17n.org>
parents: 19604
diff changeset
167 tar -cf - leim-list.el quail skk \
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
168 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
19740
c7d76a23d1eb (install): Copy `skk' subdirectory too.
Kenichi Handa <handa@m17n.org>
parents: 19604
diff changeset
169 else \
c7d76a23d1eb (install): Copy `skk' subdirectory too.
Kenichi Handa <handa@m17n.org>
parents: 19604
diff changeset
170 tar -cf - leim-list.el quail \
c7d76a23d1eb (install): Copy `skk' subdirectory too.
Kenichi Handa <handa@m17n.org>
parents: 19604
diff changeset
171 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
19604
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
172 cd ${srcdir}; \
19862
b5a6887b97d8 (install): Use quail/* in the second tar that copies a dir named quail.
Richard M. Stallman <rms@gnu.org>
parents: 19742
diff changeset
173 tar -cf - quail/* skk \
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
174 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
19740
c7d76a23d1eb (install): Copy `skk' subdirectory too.
Kenichi Handa <handa@m17n.org>
parents: 19604
diff changeset
175 fi; \
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
176 else true; fi
21808
d7fe6eeb4b62 (install): Make INSTALLDIR and contents world-readable.
Richard M. Stallman <rms@gnu.org>
parents: 21667
diff changeset
177 -chmod -R a+r ${INSTALLDIR}
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
178
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
179 clean mostlyclean:
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
180 ELC=`echo ${TIT} | sed 's/\.el/.elc/g'`; \
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
181 rm -f ${TIT} $$ELC leim-list.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
182
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
183 distclean maintainer-clean:
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
184 if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
185 rm -f Makefile