annotate leim/Makefile.in @ 19038:c6bd02eeb5fa

(LDFLAGS, CPPFLAGS): Get them from configure like CFLAGS.
author Richard M. Stallman <rms@gnu.org>
date Wed, 30 Jul 1997 04:24:46 +0000
parents 201c96faf29b
children a51718eb64d1
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 dotdot = ${dot}${dot}
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
38
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
39 # 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
40 # byte-compile Emacs Lisp files, and generate the file leim-list.el.
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
41 EMACS = ${dot}${dot}/src/emacs
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
42
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
43 buildlisppath=${srcdir}/${dot}${dot}/lisp
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
44
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
45 # How to run Emacs. This forces Emacs to use new Emacs Lisp libraries.
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
46 RUN-EMACS = ${EMACS} -batch
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
47
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
48 # 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
49 # directory.
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
50 SUBDIRS=quail skk
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
51
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
52 # 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
53 TIT-GB=\
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
54 quail/CTLau.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
55 quail/CCDOSPY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
56 quail/Punct.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
57 quail/PY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
58 quail/QJ.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
59 quail/SW.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
60 quail/TONEPY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
61 quail/ZIRANMA.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
62
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
63 # 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
64 TIT-BIG5=\
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
65 quail/4Corner.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
66 quail/ARRAY30.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
67 quail/CTLauB.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
68 quail/ECDICT.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
69 quail/ETZY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
70 quail/Punct-b5.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
71 quail/PY-b5.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
72 quail/QJ-b5.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
73 quail/ZOZY.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
74
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
75 TIT=${TIT-GB} ${TIT-BIG5}
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
76
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
77 CHINESE-GB=${TIT-GB} \
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
78 quail/py-punct.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
79
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
80 CHINESE-BIG5=${TIT-BIG5} \
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
81 quail/quick-b5.el quail/tsangchi-b5.el quail/py-punct-b5.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
82
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
83 CHINESE-CNS=quail/quick-cns.el quail/tsangchi-cns.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
84
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
85 JAPANESE=quail/japanese.el skk/skkdic.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
86
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
87 KOREAN= quail/hangul.el \
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
88 quail/hangul3.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
89 quail/hanja.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
90 quail/hanja-jis.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
91 quail/symbol-ksc.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
92
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
93 THAI=quail/thai.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
94
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
95 VIETNAMESE=quail/viqr.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
96
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
97 LAO=quail/lao.el quail/lrt.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
98
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
99 INDIAN=quail/devanagari.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
100
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
101 TIBETAN=quail/tibetan.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
102
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
103 LATIN=quail/latin-pre.el quail/latin-post.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
104
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
105 GREEK=quail/greek.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
106
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
107 RUSSIAN=quail/cyrillic.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
108
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
109 MISC=quail/ethiopic.el quail/ipa.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
110
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
111 CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
112 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
113 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN}
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
114 EUROPEAN=${LATIN} ${GREEK} ${RUSSIAN}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
115 WORLD=${ASIA} ${EUROPEAN} ${MISC}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
116
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
117 all: ${EMACS} ${SUBDIRS} ${WORLD} leim-list.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
118
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
119 # 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
120 # 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
121 ${dot}${dot}/src/emacs:
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
122 cd ../src; ${MAKE} ${MFLAGS} emacs
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
123
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
124 ${SUBDIRS}:
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
125 mkdir $@
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
126 touch stamp-subdir
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
127
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
128 # 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
129 ${TIT}:
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
130 ${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
131 --eval '(batch-titdic-convert t)' -dir quail ${srcdir}/CXTERM-DIC
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
132 ${RUN-EMACS} -f batch-byte-compile ${TIT}
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
133
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
134 # Emacs Lisp source files not generated from TIT dictionaries are
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
135 # distributed as is. So, hitting this target means that ${srcdir} is
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
136 # different from the current directory. In this case, we just make
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
137 # links.
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
138 %.el:
18903
0d699fd569cb Use @LN_S@, not ln -s, in case no symlink support.
Richard M. Stallman <rms@gnu.org>
parents: 18832
diff changeset
139 @LN_S@ ${srcdir}/$@ $@
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
140 @LN_S@ ${srcdir}/$@c $@c
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
141
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
142 leim-list.el: ${SUBDIRS} ${WORLD}
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
143 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
144 --eval "(update-leim-list-file \".\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
145
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
146 install: all
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
147 if [ x`(cd ${INSTALLDIR}; /bin/pwd)` != x`(/bin/pwd)` ] ; then \
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
148 rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/skk ; \
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
149 echo "Copying leim/quail/* and leim/skk/* to ${INSTALLDIR} ..." ; \
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
150 tar -chf - ${SUBDIRS} | (cd ${INSTALLDIR}; umask 0; tar -xvf -) ; \
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
151 else true; fi
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
152 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
153 --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
154
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
155 clean mostlyclean:
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
156 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
157 rm -f ${TIT} $$ELC leim-list.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
158
18967
201c96faf29b (TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents: 18930
diff changeset
159 distclean maintainer-clean:
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
160 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
161 rm -f Makefile