annotate leim/Makefile.in @ 21304:1c2b68b607c8

(barf_or_query_if_file_exists): New arg QUICK. All calls changed.
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 Mar 1998 08:25:53 +0000
parents 7662be098677
children f1141710efad
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.
21129
6e9dd8a366f5 (BUILT-EMACS): Variable renamed from EMACS. All uses changed.
Richard M. Stallman <rms@gnu.org>
parents: 21080
diff changeset
45 RUN-EMACS = ${BUILT-EMACS} -batch --no-init-file --no-site-file
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
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
76 NON-TIT-GB=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
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
78 NON-TIT-BIG5=quail/quick-b5.el quail/tsang-b5.el quail/pypunct-b5.el
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
79
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
80 NON-TIT-CNS=quail/quick-cns.el quail/tsang-cns.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
81
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
82 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
83
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
84 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
85
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
86 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
87
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
88 CHINESE-CNS=${NON-TIT-CNS}
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
89
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
90 JAPANESE=quail/japanese.el skk/skkdic.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
91
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
92 KOREAN= quail/hangul.el \
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
93 quail/hangul3.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
94 quail/hanja.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
95 quail/hanja-jis.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
96 quail/symbol-ksc.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
97
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
98 THAI=quail/thai.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
99
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
100 VIETNAMESE=quail/viqr.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
101
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
102 LAO=quail/lao.el quail/lrt.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
103
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
104 INDIAN=quail/devanagari.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
105
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
106 TIBETAN=quail/tibetan.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
107
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
108 LATIN=quail/latin-pre.el quail/latin-post.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
109
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
110 GREEK=quail/greek.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
111
19151
a51718eb64d1 (RUSSIAN): Add quail/cyril-jis.el.
Kenichi Handa <handa@m17n.org>
parents: 18967
diff changeset
112 RUSSIAN=quail/cyrillic.el quail/cyril-jis.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
113
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
114 MISC=quail/ethiopic.el quail/ipa.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
115
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
116 CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
117 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
118 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN}
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
119 EUROPEAN=${LATIN} ${GREEK} ${RUSSIAN}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
120 WORLD=${ASIA} ${EUROPEAN} ${MISC}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
121
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
122 TIT=${CHINESE-TIT}
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
123 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
124
21129
6e9dd8a366f5 (BUILT-EMACS): Variable renamed from EMACS. All uses changed.
Richard M. Stallman <rms@gnu.org>
parents: 21080
diff changeset
125 all: ${BUILT-EMACS} ${SUBDIRS} ${TIT} leim-list.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
126
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
127 # 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
128 # 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
129 ${dot}${dot}/src/emacs:
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
130 cd ../src; ${MAKE} ${MFLAGS} emacs
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
131
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
132 ${SUBDIRS}:
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
133 mkdir $@
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
134 touch stamp-subdir
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
135
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
136 # 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
137 ${TIT}:
21300
7662be098677 (${TIT}): Fix shell conditional syntax.
Richard M. Stallman <rms@gnu.org>
parents: 21129
diff changeset
138 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
139 ${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
140 --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
141 ${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
142 -f batch-byte-compile ${TIT}
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
143
19604
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
144 leim-list.el: ${SUBDIRS} ${TIT}
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
145 if [ x`(cd ${srcdir}; /bin/pwd)` = x`(/bin/pwd)` ] ; then \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
146 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
147 --eval "(update-leim-list-file \".\")" ; \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
148 else \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
149 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
150 --eval "(update-leim-list-file \".\" \"${srcdir}\")" ; \
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
151 fi
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
152
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
153 install: all
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
154 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
155 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
156 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
157 echo "Copying leim files to ${INSTALLDIR} ..." ; \
19742
89aff48b7ffb (install): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 19741
diff changeset
158 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
159 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
160 | (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
161 else \
c7d76a23d1eb (install): Copy `skk' subdirectory too.
Kenichi Handa <handa@m17n.org>
parents: 19604
diff changeset
162 tar -cf - leim-list.el quail \
c7d76a23d1eb (install): Copy `skk' subdirectory too.
Kenichi Handa <handa@m17n.org>
parents: 19604
diff changeset
163 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
19604
a647176226bc (dotdot): This macro deleted.
Kenichi Handa <handa@m17n.org>
parents: 19556
diff changeset
164 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
165 tar -cf - quail/* skk \
19556
b21c14f05753 Re-arrange macros so that the macro TIT contains
Kenichi Handa <handa@m17n.org>
parents: 19533
diff changeset
166 | (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
167 fi; \
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
168 else true; fi
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
169
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
170 clean mostlyclean:
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
171 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
172 rm -f ${TIT} $$ELC leim-list.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
173
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
174 distclean maintainer-clean:
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
175 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
176 rm -f Makefile