Skip to content

Commit afcde99

Browse files
committed
Fix case of the just resurrected UCS_to_BIG5.pl script, and update
Makefile to use it.
1 parent 2dbbf33 commit afcde99

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/backend/utils/mb/Unicode/Makefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 2001-2009, PostgreSQL Global Development Group
66
#
7-
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/Makefile,v 1.15 2009/01/01 17:23:51 momjian Exp $
7+
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/Makefile,v 1.16 2009/03/18 16:26:18 heikki Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -39,7 +39,6 @@ WINMAPS = win866_to_utf8.map utf8_to_win866.map \
3939
win1258_to_utf8.map utf8_to_win1258.map
4040

4141
GENERICMAPS = $(ISO8859MAPS) $(WINMAPS) \
42-
big5_to_utf8.map utf8_to_big5.map \
4342
johab_to_utf8.map utf8_to_johab.map \
4443
uhc_to_utf8.map utf8_to_uhc.map \
4544
gbk_to_utf8.map utf8_to_gbk.map \
@@ -50,7 +49,8 @@ SPECIALMAPS = euc_cn_to_utf8.map utf8_to_euc_cn.map \
5049
euc_kr_to_utf8.map utf8_to_euc_kr.map \
5150
euc_tw_to_utf8.map utf8_to_euc_tw.map \
5251
sjis_to_utf8.map utf8_to_sjis.map \
53-
gb18030_to_utf8.map utf8_to_gb18030.map
52+
gb18030_to_utf8.map utf8_to_gb18030.map \
53+
big5_to_utf8.map utf8_to_big5.map
5454

5555
MAPS = $(GENERICMAPS) $(SPECIALMAPS)
5656

@@ -64,7 +64,7 @@ WINTEXTS = CP866.TXT CP874.TXT CP1250.TXT CP1251.TXT \
6464
CP1256.TXT CP1257.TXT CP1258.TXT
6565

6666
GENERICTEXTS = $(ISO8859TEXTS) $(WINTEXTS) \
67-
KOI8-R.TXT CP936.TXT CP949.TXT JOHAB.TXT BIG5.TXT
67+
KOI8-R.TXT CP936.TXT CP949.TXT JOHAB.TXT
6868

6969
all: $(MAPS)
7070

@@ -88,6 +88,10 @@ sjis_to_utf8.map utf8_to_sjis.map : CP932.TXT
8888

8989
gb18030_to_utf8.map utf8_to_gb18030.map : ISO10646-GB18030.TXT
9090
$(PERL) $(srcdir)/UCS_to_GB18030.pl
91+
92+
big5_to_utf8.map utf8_to_big5.map : BIG5.TXT CP950.TXT
93+
$(PERL) $(srcdir)/UCS_to_BIG5.pl
94+
9195
clean:
9296
rm -f $(MAPS)
9397

src/backend/utils/mb/Unicode/UCS_to_big5.pl renamed to src/backend/utils/mb/Unicode/UCS_to_BIG5.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Copyright (c) 2001-2009, PostgreSQL Global Development Group
44
#
5-
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/UCS_to_big5.pl,v 1.1 2009/03/18 16:17:58 heikki Exp $
5+
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/UCS_to_BIG5.pl,v 1.9 2009/03/18 16:26:18 heikki Exp $
66
#
77
# Generate UTF-8 <--> BIG5 conversion tables from
88
# map files provided by Unicode organization.

0 commit comments

Comments
 (0)