annotate leim-Makefile.in @ 28846:0027ff9c083a

(Fwrite_region): If APPEND arg is an integer, seek to that offset before writing. Move gcpro region past call of Ffile_regular_p.
author Dave Love <fx@gnu.org>
date Wed, 10 May 2000 08:52:47 +0000
parents b6b71cf43a9f
children 8986e62b3e17
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27557
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1 # Makefile for leim subdirectory in GNU Emacs.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
2 # Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
3 # Licensed to the Free Software Foundation.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
4
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
5 # This file is part of GNU Emacs.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
6
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
7 # GNU Emacs is free software; you can redistribute it and/or modify
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
8 # it under the terms of the GNU General Public License as published by
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
9 # the Free Software Foundation; either version 2, or (at your option)
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
10 # any later version.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
11 #
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
12 # GNU Emacs is distributed in the hope that it will be useful,
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
15 # GNU General Public License for more details.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
16 #
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
18 # along with GNU Emacs; see the file COPYING. If not, write to the
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
19 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
20 # Boston, MA 02111-1307, USA.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
21
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
22 # Avoid trouble on systems where the `SHELL' variable might be
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
23 # inherited from the environment.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
24 SHELL = /bin/sh
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
25
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
26 # Here are the things that we expect ../configure to edit.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
27 version=@version@
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
28 prefix=@prefix@
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
29 datadir=@datadir@
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
30 srcdir=@srcdir@
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
31
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
32 # Where to install LEIM files.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
33 INSTALLDIR=${datadir}/emacs/${version}/leim
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
34
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
35 # On Xenix and the IBM RS6000, double-dot gets screwed up.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
36 dot = .
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
37
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
38 # Which Emacs to use to convert TIT files to Emacs Lisp files,
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
39 # byte-compile Emacs Lisp files, and generate the file leim-list.el.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
40 BUILT-EMACS = ${dot}${dot}/src/emacs
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
41
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
42 buildlisppath=${srcdir}/${dot}${dot}/lisp
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
43
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
44 # How to run Emacs.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
45 RUN-EMACS = ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
46
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
47 # Subdirectories to be made if ${srcdir} is different from the current
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
48 # directory.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
49 SUBDIRS=quail
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
50
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
51 # Files generated from TIT dictionaries for Chinese GB character set.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
52 TIT-GB=\
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
53 quail/CTLau.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
54 quail/CCDOSPY.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
55 quail/Punct.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
56 quail/PY.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
57 quail/QJ.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
58 quail/SW.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
59 quail/TONEPY.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
60 quail/ZIRANMA.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
61
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
62 # Files generated from TIT dictionaries for Chinese BIG5 character set.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
63 TIT-BIG5=\
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
64 quail/4Corner.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
65 quail/ARRAY30.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
66 quail/CTLauB.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
67 quail/ECDICT.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
68 quail/ETZY.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
69 quail/Punct-b5.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70 quail/PY-b5.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
71 quail/QJ-b5.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
72 quail/ZOZY.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
73
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74 CHINESE-TIT=${TIT-GB} ${TIT-BIG5}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
75
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
76 NON-TIT-GB=${srcdir}/quail/py-punct.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
77
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
78 NON-TIT-BIG5=${srcdir}/quail/quick-b5.el ${srcdir}/quail/tsang-b5.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79 ${srcdir}/quail/pypunct-b5.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
81 NON-TIT-CNS=${srcdir}/quail/quick-cns.el ${srcdir}/quail/tsang-cns.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
82
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
83 CHINESE-NON-TIT=${NON-TIT-GB} ${NON-TIT-BIG5} ${NON-TIT-CNS}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
84
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
85 CHINESE-GB=${TIT-GB} ${NON-TIT-GB}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
86
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
87 CHINESE-BIG5=${TIT-BIG5} ${NON-TIT-BIG5}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
88
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
89 CHINESE-CNS=${NON-TIT-CNS}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
90
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
91 JAPANESE=${srcdir}/quail/japanese.el ${srcdir}/skk/skkdic.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
92
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
93 KOREAN= ${srcdir}/quail/hangul.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
94 ${srcdir}/quail/hangul3.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
95 ${srcdir}/quail/hanja.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
96 ${srcdir}/quail/hanja-jis.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
97 ${srcdir}/quail/symbol-ksc.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
98
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
99 THAI=${srcdir}/quail/thai.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
100
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
101 VIETNAMESE=${srcdir}/quail/viqr.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
102
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
103 LAO=${srcdir}/quail/lao.el ${srcdir}/quail/lrt.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
104
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
105 INDIAN=${srcdir}/quail/devanagari.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
106
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
107 TIBETAN=${srcdir}/quail/tibetan.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
108
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
109 LATIN=${srcdir}/quail/latin-pre.el ${srcdir}/quail/latin-post.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
110
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
111 SLAVIC= \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
112 ${srcdir}/quail/czech.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
113 ${srcdir}/quail/slovak.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
114
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
115 GREEK=${srcdir}/quail/greek.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
116
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
117 RUSSIAN=${srcdir}/quail/cyrillic.el ${srcdir}/quail/cyril-jis.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
118
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
119 MISC= \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
120 ${srcdir}/quail/ethiopic.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
121 ${srcdir}/quail/ipa.el \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
122 ${srcdir}/quail/hebrew.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
123
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
124 CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
125 EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
126 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
127 EUROPEAN=${LATIN} ${SLAVIC} ${GREEK} ${RUSSIAN}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
128 WORLD=${ASIA} ${EUROPEAN} ${MISC}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
129
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
130 TIT=${CHINESE-TIT}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
131 NON-TIT=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${MISC}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
132
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
133 all: ${BUILT-EMACS} ${SUBDIRS} ${TIT} leim-list.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
134
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
135 # To ensure that we can run Emacs. This target is ignored (never
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
136 # being hit) if a user changes default value of EMACS.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
137 ${dot}${dot}/src/emacs:
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
138 cd ../src; ${MAKE} ${MFLAGS} emacs
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
139
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
140 ${SUBDIRS}:
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
141 mkdir $@
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
142 touch stamp-subdir
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
143
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
144 # Rule to generate quail/*.el from CXTERM-DIC/*.tit.
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145 ${TIT}:
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
146 if [ -d quail ]; then true; else make quail; fi
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
147 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
148 --eval '(batch-titdic-convert t)' -dir quail ${srcdir}/CXTERM-DIC
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
149 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
150 -f batch-byte-compile ${TIT}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
151
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
152 leim-list.el: ${SUBDIRS} ${WORLD}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
153 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
154 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
155 --eval "(update-leim-list-file \".\")" ; \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
156 else \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
157 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
158 --eval "(update-leim-list-file \".\" \"${srcdir}\")" ; \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
159 fi
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
160
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
161 install: all
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
162 if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
163 rm -rf ${INSTALLDIR}/leim-list.el; \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
164 rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/skk ; \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
165 echo "Copying leim files to ${INSTALLDIR} ..." ; \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
166 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
167 tar -cf - leim-list.el quail skk \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
168 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
169 else \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
170 tar -cf - leim-list.el quail \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
171 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
172 cd ${srcdir}; \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
173 tar -cf - quail/* skk \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
174 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
175 fi; \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
176 else true; fi
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
177 -chmod -R a+r ${INSTALLDIR}
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
178
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
179 clean mostlyclean:
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
180 ELC=`echo ${TIT} | sed 's/\.el/.elc/g'`; \
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
181 rm -f ${TIT} $$ELC leim-list.el
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
182
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
183 distclean maintainer-clean:
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
184 if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi
b6b71cf43a9f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
185 rm -f Makefile