annotate leim/Makefile.in @ 18865:43d28a5c7b68

(redisplay_internal): Calculate new_count properly for non-window displays.
author Richard M. Stallman <rms@gnu.org>
date Sat, 19 Jul 1997 05:22:59 +0000
parents f08b8f993e3a
children 0d699fd569cb
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.
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
46 RUN-EMACS = EMACSLOADPATH=${buildlisppath}:${buildlisppath}/international \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
47 ${EMACS}
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
48
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
49 # 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
50 # directory.
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
51 SUBDIRS=quail skk
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
52
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
53 # 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
54 TIT-GB=\
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
55 quail/CTLau.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
56 quail/CCDOSPY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
57 quail/Punct.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
58 quail/PY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
59 quail/QJ.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
60 quail/SW.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
61 quail/TONEPY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
62 quail/ZIRANMA.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
63
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
64 # 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
65 TIT-BIG5=\
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
66 quail/4Corner.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
67 quail/ARRAY30.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
68 quail/CTLauB.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
69 quail/ECDICT.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
70 quail/ETZY.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
71 quail/Punct-b5.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
72 quail/PY-b5.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
73 quail/QJ-b5.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
74 quail/ZOZY.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
75
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
76 CHINESE-GB=${TIT-GB} \
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
77 quail/py-punct.el
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
78
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
79 CHINESE-BIG5=${TIT-BIG5} \
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
80 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
81
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
82 CHINESE-CNS=quail/quick-cns.el quail/tsangchi-cns.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
83
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
84 JAPANESE=quail/japanese.el skk/skkdic.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
85
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
86 KOREAN= quail/hangul.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
87 quail/hangul3.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
88 quail/hanja.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
89 quail/hanja-jis.el \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
90 quail/symbol-ksc.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
91
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
92 THAI=quail/thai.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
93
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
94 VIETNAMESE=quail/viqr.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
95
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
96 LAO=quail/lao.el quail/lrt.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 INDIAN=quail/devanagari.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 TIBETAN=quail/tibetan.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 LATIN=quail/latin-pre.el quail/latin-post.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 GREEK=quail/greek.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 RUSSIAN=quail/cyrillic.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 MISC=quail/ethiopic.el quail/ipa.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
109
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
110 CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
111 EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
112 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
113 EUROPEAN=${LATIN} ${GREEK} ${RUSSIAN}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
114 WORLD=${ASIA} ${EUROPEAN} ${MISC}
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
115
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
116 all: ${SUBDIRS} ${WORLD} stamp-bytecomp leim-list.el
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
117
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
118 # 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
119 # 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
120 ${dot}${dot}/src/emacs:
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
121 cd ../src; ${MAKE} ${MFLAGS} emacs
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
122
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
123 ${SUBDIRS}:
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
124 mkdir $@
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
125 touch stamp-subdir
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 # Rule to generate quail/*.el from CXTERM-DIC/*.tit.
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
128 ${TIT-GB} ${TIT-BIG5}: ${EMACS}
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
129 ${RUN-EMACS} -batch -l titdic-cnv --eval '(batch-titdic-convert t)'\
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
130 -dir quail ${srcdir}/CXTERM-DIC
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 # Emacs Lisp source files not generated from TIT dictionaries are
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
133 # distributed as is. So, we just make symbolic links to them if
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
134 # ${srcdir} is different form the current directory.
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
135 %.el:
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
136 ln -s ${srcdir}/$@ $@
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
137
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
138 stamp-bytecomp: ${WORLD} ${EMACS}
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
139 ${RUN-EMACS} -batch --eval '(byte-recompile-directory "quail" 0)'
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
140 if test ! -f skk/skkdic.elc; then \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
141 if test -f ${srcdir}/skk/skkdic.elc; then \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
142 ln -s ${srcdir}/skk/skkdic.elc skk; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
143 else \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
144 ${RUN-EMACS} -batch -l skkdic-cnv \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
145 --eval '(byte-recompile-directory "skk" 0)'; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
146 fi \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
147 fi
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
148 touch stamp-bytecomp
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
149
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
150 leim-list.el: ${EMACS} ${SUBDIRS} ${WORLD}
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
151 ${RUN-EMACS} -batch --eval "(update-leim-list-file \".\")"
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 languages supported by LEIM
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
154 # install-asia -- all Asian languages
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
155 # install-eastasia -- all Each Asian languages
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
156 # install-chinese -- all Chinese Languages
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
157 # install-chinese-gb -- Chinese (GB)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
158 # install-chinese-big5 -- Chinese (BIG5)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
159 # install-chinese-cns -- Chinese (CNS)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
160 # install-japanese -- Japanese
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
161 # install-korean -- Korean (hangul and hanja)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
162 # install-thai -- Thai
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
163 # install-vietnamese -- Vietnamese
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
164 # install-lao -- Lao
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
165 # install-indian -- Indian (Devanagari script)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
166 # install-tibetan -- Tibetan (Devanagari)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
167 # install-european -- all European languages
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
168 # install-latin -- all Latin scripts
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
169 # install-greek -- Greek
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
170 # install-russian -- Russian (cyrillic)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
171 # install-misc -- Ethiopic and IPA
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
172
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
173 install: all
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
174 tar cfh - ${SUBDIRS} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
175 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
176
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
177 install-asia: all
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
178 ELC=`echo ${ASIA} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
179 tar cfh - $$ELC ${ASIA} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
180 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
181
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
182 install-eastasia: all
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
183 ELC=`echo ${EASTASIA} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
184 tar cfh - $$ELC ${EASTASIA} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
185 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
186
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
187 install-chinese: all ${CHINESE}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
188 ELC=`echo ${CHINESE} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
189 tar cfh - $$ELC ${CHINESE} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
190 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
191
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
192 install-chinese-gb: all ${CHINESE-GB}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
193 ELC=`echo ${CHINESE-GB} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
194 tar cfh - $$ELC ${CHINESE-GB} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
195 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
196
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
197 install-chinese-big5: all ${CHINESE-BIG5}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
198 ELC=`echo ${CHINESE-BIG5} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
199 tar cfh - $$ELC ${CHINESE-BIG5} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
200 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
201
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
202 install-chinese-cns: all ${CHINESE-CNS}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
203 ELC=`echo ${CHINESE-CNS} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
204 tar cfh - $$ELC ${CHINESE-CNS} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
205 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
206
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
207 install-japanese: all ${JAPANESE}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
208 ELC=`echo ${JAPANESE} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
209 tar cfh - $$ELC ${JAPANESE} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
210 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
211
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
212 install-korean: all ${KOREAN}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
213 ELC=`echo ${KOREAN} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
214 tar cfh - $$ELC ${KOREAN} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
215 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
216
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
217 install-thai: all ${THAI}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
218 ELC=`echo ${THAI} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
219 tar cfh - $$ELC ${THAI} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
220 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
221
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
222 install-vietnamese: all ${VIETNAMESE}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
223 ELC=`echo ${VIETNAMESE} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
224 tar cfh - $$ELC ${VIETNAMESE} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
225 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
226
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
227 install-lao: all ${LAO}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
228 ELC=`echo ${LAO} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
229 tar cfh - $$ELC ${LAO} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
230 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
231
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
232 install-indian: all ${INDIAN}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
233 ELC=`echo ${INDIAN} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
234 tar cfh - $$ELC ${INDIAN} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
235 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
236
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
237 install-tibetan: all ${TIBETAN}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
238 ELC=`echo ${TIBETAN} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
239 tar cfh - $$ELC ${TIBETAN} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
240 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
241
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
242 install-european: all ${EUROPEAN}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
243 ELC=`echo ${EUROPEAN} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
244 tar cfh - $$ELC ${EUROPEAN} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
245 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
246
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
247 install-latin: all ${LATIN}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
248 ELC=`echo ${LATIN} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
249 tar cfh - $$ELC ${LATIN} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
250 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
251
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
252 install-greek: all ${GREEK}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
253 ELC=`echo ${GREEK} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
254 tar cfh - $$ELC ${GREEK} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
255 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
256
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
257 install-russian: all ${RUSSIAN}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
258 ELC=`echo ${RUSSIAN} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
259 tar cfh - $$ELC ${RUSSIAN} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
260 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
261
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
262 install-misc: all ${MISC}
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
263 ELC=`echo ${MISC} | sed 's/\.el/.elc/g'`; \
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
264 tar cfh - $$ELC ${MISC} | (cd ${INSTALLDIR}; tar xvf -)
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
265 ${RUN-EMACS} -batch --eval "(update-leim-list-file \"${INSTALLDIR}\")"
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
266
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
267 mostlyclean:
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
268 rm -f quail/*.elc stamp-bytecomp
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
269
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
270 clean:
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
271 rm -rf ${TIT-GB} ${TIT-BIG5} quail/*.elc stamp-bytecomp leim-list.el
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
272 test -L skk/skkdic.elc || rm skk/skkdic.elc
18802
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
273
82ddbecd903d Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents: 18673
diff changeset
274 distclean maintainer-clean: clean
18832
f08b8f993e3a Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents: 18802
diff changeset
275 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
276 rm -f Makefile