Mercurial > emacs
comparison leim/Makefile.in @ 19457:354d9588342d
(install): Just copy leim-list.el instead of running
update-leim-list-file on ${INSTALLDIR}.
(CHINESE-BIG5): File name change: tsangchi-b5.el -> tsang-b5.el,
py-punct-b5.el -> pypunct-b5.el.
(CHINESE-CNS): File name change: tsangchi-cns.el -> tsang-cns.el.
(leim-list.el): Delete old files not contained in ${WORLD}.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 22 Aug 1997 01:24:09 +0000 |
parents | 6075ee381a9d |
children | d7a004efd7ab |
comparison
equal
deleted
inserted
replaced
19456:f5627d8c422a | 19457:354d9588342d |
---|---|
76 | 76 |
77 CHINESE-GB=${TIT-GB} \ | 77 CHINESE-GB=${TIT-GB} \ |
78 quail/py-punct.el | 78 quail/py-punct.el |
79 | 79 |
80 CHINESE-BIG5=${TIT-BIG5} \ | 80 CHINESE-BIG5=${TIT-BIG5} \ |
81 quail/quick-b5.el quail/tsangchi-b5.el quail/py-punct-b5.el | 81 quail/quick-b5.el quail/tsang-b5.el quail/pypunct-b5.el |
82 | 82 |
83 CHINESE-CNS=quail/quick-cns.el quail/tsangchi-cns.el | 83 CHINESE-CNS=quail/quick-cns.el quail/tsang-cns.el |
84 | 84 |
85 JAPANESE=quail/japanese.el skk/skkdic.el | 85 JAPANESE=quail/japanese.el skk/skkdic.el |
86 | 86 |
87 KOREAN= quail/hangul.el \ | 87 KOREAN= quail/hangul.el \ |
88 quail/hangul3.el \ | 88 quail/hangul3.el \ |
137 # links. | 137 # links. |
138 %.el: | 138 %.el: |
139 @LN_S@ ${srcdir}/$@ $@ | 139 @LN_S@ ${srcdir}/$@ $@ |
140 @LN_S@ ${srcdir}/$@c $@c | 140 @LN_S@ ${srcdir}/$@c $@c |
141 | 141 |
142 # Before running update-leim-list-file, delete all old files which are | |
143 # not contained in ${WORLD}. | |
142 leim-list.el: ${SUBDIRS} ${WORLD} | 144 leim-list.el: ${SUBDIRS} ${WORLD} |
145 for dir in ${SUBDIRS}; do \ | |
146 for f in $${dir}/*.el; do \ | |
147 if echo ${WORLD} | grep $${f} > /dev/null; then true; \ | |
148 else rm -f $${f}* ; fi \ | |
149 done \ | |
150 done | |
143 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ | 151 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ |
144 --eval "(update-leim-list-file \".\")" | 152 --eval "(update-leim-list-file \".\")" |
145 | 153 |
146 install: all | 154 install: all |
147 if [ x`(cd ${INSTALLDIR}; /bin/pwd)` != x`(/bin/pwd)` ] ; then \ | 155 if [ x`(cd ${INSTALLDIR}; /bin/pwd)` != x`(/bin/pwd)` ] ; then \ |
156 rm -rf ${INSTALLDIR}/leim-list.el; \ | |
148 rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/skk ; \ | 157 rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/skk ; \ |
149 echo "Copying leim/quail/* and leim/skk/* to ${INSTALLDIR} ..." ; \ | 158 echo "Copying leim files to ${INSTALLDIR} ..." ; \ |
150 tar -chf - ${SUBDIRS} | (cd ${INSTALLDIR}; umask 0; tar -xvf -) ; \ | 159 tar -chf - leim-list.el ${SUBDIRS} \ |
160 | (cd ${INSTALLDIR}; umask 0; tar -xvf -) ; \ | |
151 else true; fi | 161 else true; fi |
152 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ | |
153 --eval "(update-leim-list-file \"${INSTALLDIR}\")" | |
154 | 162 |
155 clean mostlyclean: | 163 clean mostlyclean: |
156 ELC=`echo ${TIT} | sed 's/\.el/.elc/g'`; \ | 164 ELC=`echo ${TIT} | sed 's/\.el/.elc/g'`; \ |
157 rm -f ${TIT} $$ELC leim-list.el | 165 rm -f ${TIT} $$ELC leim-list.el |
158 | 166 |