changeset 103397:96e409ad0410

(JISX213A.map): Make it depend on mapfiles/JISX213A.map.gz. (BIG5-1.map, BIG5-2.map): Prepend "# " to the first comment line.
author Kenichi Handa <handa@m17n.org>
date Fri, 12 Jun 2009 12:29:11 +0000
parents 0c698bcaa2c2
children 8cc2b1e9767f
files admin/charsets/Makefile
diffstat 1 files changed, 4 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/admin/charsets/Makefile	Fri Jun 12 12:27:50 2009 +0000
+++ b/admin/charsets/Makefile	Fri Jun 12 12:29:11 2009 +0000
@@ -178,18 +178,9 @@
 	# Generating $@...
 	@mapconv $< '/^<.*[ 	]\/x8f/ s,/x8f,,' GLIBC-2-7 > $@
 
-JISX213A.map:
+JISX213A.map: mapfiles/JISX213A.map.gz
 	# Generating $@
-	@(echo "0x2E21 0x4FF1"; \
-	  echo "0x2F7E 0x525D"; \
-	  echo "0x4F54 0x20B9F"; \
-	  echo "0x4F7E 0x541E"; \
-	  echo "0x7427 0x5653"; \
-	  echo "0x7E7A 0x59F8"; \
-	  echo "0x7E7B 0x5C5B"; \
-	  echo "0x7E7C 0x5E77"; \
-	  echo "0x7E7D 0x7626"; \
-	  echo "0x7E7E 0x7E6B") > $@
+	@zcat $< > $@
 
 CP932-2BYTE.map: mapfiles/CP932.TXT.gz mapconv cp932.awk
 	# Generating $@...
@@ -215,12 +206,12 @@
 
 BIG5-1.map: BIG5.map mapconv big5.awk
 	# Generating $@...
-	@echo "Generated from $<" > $@
+	@echo "# Generated from $<" > $@
 	@sed -n -e '/0xa140/,/0xc8fe/p' < $< | gawk -f big5.awk >> $@
 
 BIG5-2.map: BIG5.map mapconv big5.awk
 	# Generating $@...
-	@echo "Generated from $<" > $@
+	@echo "# Generated from $<" > $@
 	@sed -n -e '/0xc940/,$$ p' < $< | gawk -f big5.awk >> $@
 
 BIG5-HKSCS.map: ${GLIBC_CHARMAPS}/BIG5-HKSCS.gz mapconv compact.awk