changeset 37118:6aaaa52f72ac

(TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc (NON-TIT-BIG5): Delete ${srcdir}/quail/quick-b5.elc ${srcdir}/quail/tsang-b5.elc. (CHINESE-NON-TIT): Delete ${NON-TIT-CNS}. (CHINESE-CNS): Delete it. (MISC-DIC): New variable. (CHINESE): Delete ${CHINESE-CNS}. (WORLD): Delete ${MISC-DIC}. (all): Depends on ${MISC-DIC}. (${MISC-DIC}): New target. (clean mostlyclean): Delete also ${MISC-DIC} ${MISC-DIC:.elc=.el}.
author Kenichi Handa <handa@m17n.org>
date Sat, 31 Mar 2001 02:23:04 +0000
parents 17b120bee51b
children a4f474cb3812
files leim/Makefile.in
diffstat 1 files changed, 26 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/leim/Makefile.in	Sat Mar 31 02:22:45 2001 +0000
+++ b/leim/Makefile.in	Sat Mar 31 02:23:04 2001 +0000
@@ -54,11 +54,9 @@
 	quail/CTLau.elc		\
 	quail/CCDOSPY.elc	\
 	quail/Punct.elc		\
-	quail/PY.elc		\
 	quail/QJ.elc		\
 	quail/SW.elc		\
-	quail/TONEPY.elc	\
-	quail/ZIRANMA.elc
+	quail/TONEPY.elc
 
 # Files generated from TIT dictionaries for Chinese BIG5 character set.
 TIT-BIG5=\
@@ -76,19 +74,14 @@
 
 NON-TIT-GB=${srcdir}/quail/py-punct.elc
 
-NON-TIT-BIG5=${srcdir}/quail/quick-b5.elc ${srcdir}/quail/tsang-b5.elc \
-	     ${srcdir}/quail/pypunct-b5.elc
+NON-TIT-BIG5=${srcdir}/quail/pypunct-b5.elc
 
-NON-TIT-CNS=${srcdir}/quail/quick-cns.elc ${srcdir}/quail/tsang-cns.elc
-
-CHINESE-NON-TIT=${NON-TIT-GB} ${NON-TIT-BIG5} ${NON-TIT-CNS}
+CHINESE-NON-TIT=${NON-TIT-GB} ${NON-TIT-BIG5}
 
 CHINESE-GB=${TIT-GB} ${NON-TIT-GB}
 
 CHINESE-BIG5=${TIT-BIG5} ${NON-TIT-BIG5} 
 
-CHINESE-CNS=${NON-TIT-CNS} 
-
 JAPANESE=${srcdir}/quail/japanese.elc ${srcdir}/ja-dic/ja-dic.elc
 
 KOREAN=	${srcdir}/quail/hangul.elc	\
@@ -125,11 +118,19 @@
 	${srcdir}/quail/ipa.elc \
 	${srcdir}/quail/hebrew.elc
 
-CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS}
+MISC-DIC=\
+	quail/tsang-b5.elc	\
+	quail/quick-b5.elc	\
+	quail/tsang-cns.elc	\
+	quail/quick-cns.elc	\
+	quail/PY.elc		\
+	quail/ZIRANMA.elc
+
+CHINESE=${CHINESE-GB} ${CHINESE-BIG5}
 EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN}
 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN}
 EUROPEAN=${LATIN} ${SLAVIC} ${GREEK} ${RUSSIAN}
-WORLD=${ASIA} ${EUROPEAN} ${MISC}
+WORLD=${ASIA} ${EUROPEAN} ${MISC} ${MISC-DIC}
 
 TIT=${CHINESE-TIT}
 NON-TIT=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${MISC}
@@ -139,7 +140,7 @@
 .el.elc:
 	${RUN-EMACS} -f batch-byte-compile $<
 
-all: ${BUILT-EMACS} ${SUBDIRS} ${TIT} leim-list.el
+all: ${BUILT-EMACS} ${SUBDIRS} ${TIT} ${MISC-DIC} leim-list.el
 
 # To ensure that we can run Emacs.  This target is ignored (never
 # being hit) if a user changes default value of EMACS.
@@ -171,6 +172,16 @@
 	 ${RUN-EMACS}  -l ${buildlisppath}/international/quail \
 	  -f batch-byte-compile ${TIT:.elc=.el}; fi
 
+# Rule to generate quail/*.el from MISC-DIC/*.
+${MISC-DIC}:
+	if [ -d quail ]; then true; else make quail; fi
+	if [ -f $@ ]; then true; else \
+	 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \
+	    -f batch-miscdic-convert -dir quail ${srcdir}/MISC-DIC; fi
+	if [ -f $@ ]; then true; else \
+	 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
+	  -f batch-byte-compile ${MISC-DIC:.elc=.el}; fi
+
 leim-list.el: ${SUBDIRS} ${WORLD}
 	if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
 	  ${RUN-EMACS} -l ${buildlisppath}/international/quail \
@@ -199,7 +210,8 @@
 	-chmod -R a+r ${INSTALLDIR}
 
 clean mostlyclean:
-	rm -f ${TIT} ${NON-TIT} ${WORLD} ${TIT:.elc=.el} leim-list.el
+	rm -f ${TIT} ${NON-TIT} ${WORLD} ${TIT:.elc=.el} \
+	  ${MISC-DIC} ${MISC-DIC:.elc=.el} leim-list.el
 
 distclean maintainer-clean:
 	if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi