summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-08-22 01:24:09 +0000
committerKenichi Handa <handa@m17n.org>1997-08-22 01:24:09 +0000
commit3b33d140bc7ddd8dd428cd0c27d0bf9d136807ab (patch)
treefcc2acdd7bdd24f11783f7f75150aaabbae3d047
parent0c34ee5f04b6018867fa015bebabdb4e21f7d802 (diff)
downloademacs-3b33d140bc7ddd8dd428cd0c27d0bf9d136807ab.tar.gz
(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}.
-rw-r--r--leim/Makefile.in20
1 files changed, 14 insertions, 6 deletions
diff --git a/leim/Makefile.in b/leim/Makefile.in
index 2abbef29be4..a0b799ed541 100644
--- a/leim/Makefile.in
+++ b/leim/Makefile.in
@@ -78,9 +78,9 @@ CHINESE-GB=${TIT-GB} \
quail/py-punct.el
CHINESE-BIG5=${TIT-BIG5} \
- quail/quick-b5.el quail/tsangchi-b5.el quail/py-punct-b5.el
+ quail/quick-b5.el quail/tsang-b5.el quail/pypunct-b5.el
-CHINESE-CNS=quail/quick-cns.el quail/tsangchi-cns.el
+CHINESE-CNS=quail/quick-cns.el quail/tsang-cns.el
JAPANESE=quail/japanese.el skk/skkdic.el
@@ -139,18 +139,26 @@ ${TIT}:
@LN_S@ ${srcdir}/$@ $@
@LN_S@ ${srcdir}/$@c $@c
+# Before running update-leim-list-file, delete all old files which are
+# not contained in ${WORLD}.
leim-list.el: ${SUBDIRS} ${WORLD}
+ for dir in ${SUBDIRS}; do \
+ for f in $${dir}/*.el; do \
+ if echo ${WORLD} | grep $${f} > /dev/null; then true; \
+ else rm -f $${f}* ; fi \
+ done \
+ done
${RUN-EMACS} -l ${buildlisppath}/international/quail \
--eval "(update-leim-list-file \".\")"
install: all
if [ x`(cd ${INSTALLDIR}; /bin/pwd)` != x`(/bin/pwd)` ] ; then \
+ rm -rf ${INSTALLDIR}/leim-list.el; \
rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/skk ; \
- echo "Copying leim/quail/* and leim/skk/* to ${INSTALLDIR} ..." ; \
- tar -chf - ${SUBDIRS} | (cd ${INSTALLDIR}; umask 0; tar -xvf -) ; \
+ echo "Copying leim files to ${INSTALLDIR} ..." ; \
+ tar -chf - leim-list.el ${SUBDIRS} \
+ | (cd ${INSTALLDIR}; umask 0; tar -xvf -) ; \
else true; fi
- ${RUN-EMACS} -l ${buildlisppath}/international/quail \
- --eval "(update-leim-list-file \"${INSTALLDIR}\")"
clean mostlyclean:
ELC=`echo ${TIT} | sed 's/\.el/.elc/g'`; \