Commit afcde99b authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix case of the just resurrected UCS_to_BIG5.pl script, and update

Makefile to use it.
parent 2dbbf33f
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
# Copyright (c) 2001-2009, PostgreSQL Global Development Group # Copyright (c) 2001-2009, PostgreSQL Global Development Group
# #
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/Makefile,v 1.15 2009/01/01 17:23:51 momjian Exp $ # $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/Makefile,v 1.16 2009/03/18 16:26:18 heikki Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -39,7 +39,6 @@ WINMAPS = win866_to_utf8.map utf8_to_win866.map \ ...@@ -39,7 +39,6 @@ WINMAPS = win866_to_utf8.map utf8_to_win866.map \
win1258_to_utf8.map utf8_to_win1258.map win1258_to_utf8.map utf8_to_win1258.map
GENERICMAPS = $(ISO8859MAPS) $(WINMAPS) \ GENERICMAPS = $(ISO8859MAPS) $(WINMAPS) \
big5_to_utf8.map utf8_to_big5.map \
johab_to_utf8.map utf8_to_johab.map \ johab_to_utf8.map utf8_to_johab.map \
uhc_to_utf8.map utf8_to_uhc.map \ uhc_to_utf8.map utf8_to_uhc.map \
gbk_to_utf8.map utf8_to_gbk.map \ gbk_to_utf8.map utf8_to_gbk.map \
...@@ -50,7 +49,8 @@ SPECIALMAPS = euc_cn_to_utf8.map utf8_to_euc_cn.map \ ...@@ -50,7 +49,8 @@ SPECIALMAPS = euc_cn_to_utf8.map utf8_to_euc_cn.map \
euc_kr_to_utf8.map utf8_to_euc_kr.map \ euc_kr_to_utf8.map utf8_to_euc_kr.map \
euc_tw_to_utf8.map utf8_to_euc_tw.map \ euc_tw_to_utf8.map utf8_to_euc_tw.map \
sjis_to_utf8.map utf8_to_sjis.map \ sjis_to_utf8.map utf8_to_sjis.map \
gb18030_to_utf8.map utf8_to_gb18030.map gb18030_to_utf8.map utf8_to_gb18030.map \
big5_to_utf8.map utf8_to_big5.map
MAPS = $(GENERICMAPS) $(SPECIALMAPS) MAPS = $(GENERICMAPS) $(SPECIALMAPS)
...@@ -64,7 +64,7 @@ WINTEXTS = CP866.TXT CP874.TXT CP1250.TXT CP1251.TXT \ ...@@ -64,7 +64,7 @@ WINTEXTS = CP866.TXT CP874.TXT CP1250.TXT CP1251.TXT \
CP1256.TXT CP1257.TXT CP1258.TXT CP1256.TXT CP1257.TXT CP1258.TXT
GENERICTEXTS = $(ISO8859TEXTS) $(WINTEXTS) \ GENERICTEXTS = $(ISO8859TEXTS) $(WINTEXTS) \
KOI8-R.TXT CP936.TXT CP949.TXT JOHAB.TXT BIG5.TXT KOI8-R.TXT CP936.TXT CP949.TXT JOHAB.TXT
all: $(MAPS) all: $(MAPS)
...@@ -88,6 +88,10 @@ sjis_to_utf8.map utf8_to_sjis.map : CP932.TXT ...@@ -88,6 +88,10 @@ sjis_to_utf8.map utf8_to_sjis.map : CP932.TXT
gb18030_to_utf8.map utf8_to_gb18030.map : ISO10646-GB18030.TXT gb18030_to_utf8.map utf8_to_gb18030.map : ISO10646-GB18030.TXT
$(PERL) $(srcdir)/UCS_to_GB18030.pl $(PERL) $(srcdir)/UCS_to_GB18030.pl
big5_to_utf8.map utf8_to_big5.map : BIG5.TXT CP950.TXT
$(PERL) $(srcdir)/UCS_to_BIG5.pl
clean: clean:
rm -f $(MAPS) rm -f $(MAPS)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# Copyright (c) 2001-2009, PostgreSQL Global Development Group # Copyright (c) 2001-2009, PostgreSQL Global Development Group
# #
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/UCS_to_big5.pl,v 1.1 2009/03/18 16:17:58 heikki Exp $ # $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/UCS_to_BIG5.pl,v 1.9 2009/03/18 16:26:18 heikki Exp $
# #
# Generate UTF-8 <--> BIG5 conversion tables from # Generate UTF-8 <--> BIG5 conversion tables from
# map files provided by Unicode organization. # map files provided by Unicode organization.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment