summaryrefslogtreecommitdiff
path: root/admin/charsets
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2004-02-12 07:48:24 +0000
committerKenichi Handa <handa@m17n.org>2004-02-12 07:48:24 +0000
commitaf56cec45231a5de311aeaed260e1e9bcfa3bb81 (patch)
tree7f00bd9e05a1d60ee7cbfd95fa2676aced3e4d0e /admin/charsets
parentb0588326c2117227e5caeeab1cc98e3923b78b29 (diff)
downloademacs-af56cec45231a5de311aeaed260e1e9bcfa3bb81.tar.gz
(all): Rename target from charsets. Depend on
${TRANS_TABLE} (CNS-2.map, CNS-3.map, CNS-4.map, CNS-5.map, CNS-6.map) (CNS-7.map): Generate from cns2ucsdkw.txt. (install): Copy updated files only.
Diffstat (limited to 'admin/charsets')
-rw-r--r--admin/charsets/Makefile43
1 files changed, 25 insertions, 18 deletions
diff --git a/admin/charsets/Makefile b/admin/charsets/Makefile
index 6def349d96d..a38c20c8ade 100644
--- a/admin/charsets/Makefile
+++ b/admin/charsets/Makefile
@@ -42,11 +42,18 @@
# provided at <http://www.microsoft.com/globaldev/reference/oem/>
# o eucJP-13th.txt, eucJP-udc.txt, eucJP-ibmext.txt
# provided at <http://www.opengroup.or.jp/jvc/cde/>
+# o cns2ucsdkw.txt
+# available by:
+# % cvs -d :pserver:anonymous@cvs.kanji-database.sourceforge.net:\
+# /cvsroot/kanji-database login
+# % cvs -d :pserver:anonymous@cvs.kanji-database.sourceforge.net:\
+# /cvsroot/kanji-database co kanji-database
# OLDEMACS
# emacs of version 21.3.50 or later
#
# Then, do this:
-# % make install
+# % make XXX.map (or make all)
+# % make install
CHARSETS = ${ISO8859} ${IBM} ${CODEPAGE} ${CJK} ${MISC} ${MULE}
@@ -99,7 +106,7 @@ MULE = MULE-ethiopic.map MULE-ipa.map MULE-is13194.map \
TRANS_TABLE = cp51932.el eucjp-ms.el
-charsets: ${CHARSETS}
+all: ${CHARSETS} ${TRANS_TABLE}
AWK = gawk
@@ -258,33 +265,33 @@ CNS-1.map: ${GLIBC_CHARMAPS}/EUC-TW mapconv compact.awk
# Generating $@...
@mapconv $< '/^<.*[ ]\/x[a-f]/' GLIBC-2-7 compact.awk > $@
-CNS-2.map: ${GLIBC_CHARMAPS}/EUC-TW mapconv compact.awk
- # Generating $@...
- @mapconv $< '/^<.*\/x8e\/xa2/s,/x8e/xa2,,' GLIBC-2-7 compact.awk > $@
+# CNS-1.map: ${MISC_CHARMAPS}/cns2ucsdkw.txt mapconv compact.awk
+# # Generating $@...
+# @mapconv $< '/^C1/' KANJI-DATABASE compact.awk > $@
-CNS-3.map: ${GLIBC_CHARMAPS}/EUC-TW mapconv compact.awk
+CNS-2.map: ${MISC_CHARMAPS}/cns2ucsdkw.txt mapconv compact.awk
# Generating $@...
- @mapconv $< '/^<.*\/x8e\/xa3/ s,/x8e/xa3,,' GLIBC-2-7 compact.awk > $@
+ @mapconv $< '/^C2/' KANJI-DATABASE compact.awk > $@
-CNS-4.map: ${GLIBC_CHARMAPS}/EUC-TW mapconv compact.awk
+CNS-3.map: ${MISC_CHARMAPS}/cns2ucsdkw.txt mapconv compact.awk
# Generating $@...
- @mapconv $< '/^<.*\/x8e\/xa4/ s,/x8e/xa4,,' GLIBC-2-7 compact.awk > $@
+ @mapconv $< '/^C3/' KANJI-DATABASE compact.awk > $@
-CNS-5.map: ${GLIBC_CHARMAPS}/EUC-TW mapconv compact.awk
+CNS-4.map: ${MISC_CHARMAPS}/cns2ucsdkw.txt mapconv compact.awk
# Generating $@...
- @mapconv $< '/^<.*\/x8e\/xa5/ s,/x8e/xa5,,' GLIBC-2-7 compact.awk > $@
+ @mapconv $< '/^C4/' KANJI-DATABASE compact.awk > $@
-CNS-6.map: ${GLIBC_CHARMAPS}/EUC-TW mapconv compact.awk
+CNS-5.map: ${MISC_CHARMAPS}/cns2ucsdkw.txt mapconv compact.awk
# Generating $@...
- @mapconv $< '/^<.*\/x8e\/xa6/ s,/x8e/xa6,,' GLIBC-2-7 compact.awk > $@
+ @mapconv $< '/^C5/' KANJI-DATABASE compact.awk > $@
-CNS-7.map: ${GLIBC_CHARMAPS}/EUC-TW mapconv compact.awk
+CNS-6.map: ${MISC_CHARMAPS}/cns2ucsdkw.txt mapconv compact.awk
# Generating $@...
- @mapconv $< '/^<.*\/x8e\/xa7/ s,/x8e/xa7,,' GLIBC-2-7 compact.awk > $@
+ @mapconv $< '/^C6/' KANJI-DATABASE compact.awk > $@
-CNS-F.map: ${GLIBC_CHARMAPS}/EUC-TW mapconv compact.awk
+CNS-7.map: ${MISC_CHARMAPS}/cns2ucsdkw.txt mapconv compact.awk
# Generating $@...
- @mapconv $< '/^<.*\/x8e\/xaf/ s,/x8e/xaf,,' GLIBC-2-7 compact.awk > $@
+ @mapconv $< '/^C7/' KANJI-DATABASE compact.awk > $@
# General target to produce map files for mule charsets.
MULE-%.map: mule-charsets.el
@@ -333,4 +340,4 @@ install:
# Clear files that are automatically generated.
clean:
- rm -f ${CHARSETS}
+ rm -f ${CHARSETS} ${TRANS_TABLE}