aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2004-01-27 02:02:55 +0000
committerKenichi Handa2004-01-27 02:02:55 +0000
commit1014a131dd554d665301da6785baa4c446e80c8e (patch)
tree2e18911d9cd6332ae593a785fc8cb7b794a3476b
parent5d1bff2082c0af3e5d00bd5b8873c2bad5201836 (diff)
downloademacs-1014a131dd554d665301da6785baa4c446e80c8e.tar.gz
emacs-1014a131dd554d665301da6785baa4c446e80c8e.zip
(TRANS_TABLE): New macro.
(JISX0208.map): Convert 0x2015 to 0x2014. (cp51932.el): New target. (eucjp-ms.el): New target. (install): Include ${TRANS_TABLE}.
-rw-r--r--admin/charsets/Makefile19
1 files changed, 17 insertions, 2 deletions
diff --git a/admin/charsets/Makefile b/admin/charsets/Makefile
index 970ee193992..22e22a0e09d 100644
--- a/admin/charsets/Makefile
+++ b/admin/charsets/Makefile
@@ -40,6 +40,8 @@
40# provided at <http://kanji.zinbun.kyoto-u.ac.jp/~yasuoka/CJK.html> 40# provided at <http://kanji.zinbun.kyoto-u.ac.jp/~yasuoka/CJK.html>
41# o 720.htm and 858.htm 41# o 720.htm and 858.htm
42# provided at <http://www.microsoft.com/globaldev/reference/oem/> 42# provided at <http://www.microsoft.com/globaldev/reference/oem/>
43# o eucJP-13th.txt, eucJP-udc.txt, eucJP-ibmext.txt
44# provided at <http://www.opengroup.or.jp/jvc/cde/>
43# OLDEMACS 45# OLDEMACS
44# emacs of version 21.3.50 or later 46# emacs of version 21.3.50 or later
45# 47#
@@ -95,6 +97,8 @@ MULE = MULE-ethiopic.map MULE-ipa.map MULE-is13194.map \
95 MULE-sisheng.map MULE-tibetan.map \ 97 MULE-sisheng.map MULE-tibetan.map \
96 MULE-lviscii.map MULE-uviscii.map 98 MULE-lviscii.map MULE-uviscii.map
97 99
100TRANS_TABLE = cp51932.el eucjp-ms.el
101
98charsets: ${CHARSETS} 102charsets: ${CHARSETS}
99 103
100AWK = gawk 104AWK = gawk
@@ -178,7 +182,8 @@ JISX0201.map: ${GLIBC_CHARMAPS}/JIS_X0201 mapconv compact.awk
178 182
179JISX0208.map: ${GLIBC_CHARMAPS}/EUC-JP mapconv 183JISX0208.map: ${GLIBC_CHARMAPS}/EUC-JP mapconv
180 # Generating $@... 184 # Generating $@...
181 @mapconv $< '/^<.*[ ]\/x[a-f]/' GLIBC-2-7 > $@ 185 @mapconv $< '/^<.*[ ]\/x[a-f]/' GLIBC-2-7 \
186 | sed 's/0x2015/0x2014/' > $@
182 187
183JISX0212.map: ${GLIBC_CHARMAPS}/EUC-JP mapconv compact.awk 188JISX0212.map: ${GLIBC_CHARMAPS}/EUC-JP mapconv compact.awk
184 # Generating $@... 189 # Generating $@...
@@ -196,6 +201,15 @@ CP932-2BYTE.map: ${MISC_CHARMAPS}/cp932.txt mapconv cp932.awk
196 # Generating $@... 201 # Generating $@...
197 @mapconv $< '/^0x[89A-F][0-9A-F][0-9A-F]/' UNICODE2 cp932.awk > $@ 202 @mapconv $< '/^0x[89A-F][0-9A-F][0-9A-F]/' UNICODE2 cp932.awk > $@
198 203
204cp51932.el: CP932-2BYTE.map cp51932.awk
205 @$(AWK) -f cp51932.awk < CP932-2BYTE.map > $@
206
207eucjp-ms.el: ${MISC_CHARMAPS}/eucJP-13th.txt ${MISC_CHARMAPS}/eucJP-udc.txt \
208 ${MISC_CHARMAPS}/eucJP-ibmext.txt eucjp-ms.awk
209 @(cd ${MISC_CHARMAPS}; \
210 cat eucJP-13th.txt eucJP-udc.txt eucJP-ibmext.txt) \
211 | $(AWK) -f eucjp-ms.awk > $@
212
199JISC6226.map : ${MISC_CHARMAPS}/Uni2JIS mapconv kuten.awk 213JISC6226.map : ${MISC_CHARMAPS}/Uni2JIS mapconv kuten.awk
200 # Generating $@... 214 # Generating $@...
201 @mapconv $< '/^[^#].*0-/' YASUOKA kuten.awk > $@ 215 @mapconv $< '/^[^#].*0-/' YASUOKA kuten.awk > $@
@@ -285,8 +299,9 @@ EBCDIC%.map: ${GLIBC_CHARMAPS}/EBCDIC-% mapconv compact.awk
285 # Generating $@... 299 # Generating $@...
286 @mapconv $< '/^<.*[ ]\/x/' GLIBC-1 compact.awk > $@ 300 @mapconv $< '/^<.*[ ]\/x/' GLIBC-1 compact.awk > $@
287 301
288install: ${CHARSETS} 302install: ${CHARSETS} ${TRANS_TABLE}
289 cp ${CHARSETS} ../../etc/charsets 303 cp ${CHARSETS} ../../etc/charsets
304 cp ${TRANS_TABLE} ../../lisp/international
290 305
291# Clear files that are automatically generated. 306# Clear files that are automatically generated.
292clean: 307clean: