Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3a47c70

Browse files
committed
Add make rules to download raw Unicode mapping files
This serves as implicit documentation and is handy if someone wants to tweak things. The rules are not part of a normal build, like this entire directory.
1 parent 6bb9a61 commit 3a47c70

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

src/backend/utils/mb/Unicode/Makefile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,37 @@ distclean: clean
108108

109109
maintainer-clean: distclean
110110
rm -f $(MAPS)
111+
112+
113+
DOWNLOAD = wget -O $@ --no-use-server-timestamps
114+
#DOWNLOAD = curl -o $@
115+
116+
BIG5.TXT CNS11643.TXT:
117+
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/$(@F)
118+
119+
euc-jis-2004-std.txt sjis-0213-2004-std.txt:
120+
$(DOWNLOAD) http://x0213.org/codetable/$(@F)
121+
122+
gb-18030-2000.xml:
123+
$(DOWNLOAD) https://ssl.icu-project.org/repos/icu/data/trunk/charset/data/xml/$(@F)
124+
125+
GB2312.TXT:
126+
$(DOWNLOAD) 'http://trac.greenstone.org/browser/trunk/gsdl/unicode/MAPPINGS/EASTASIA/GB/GB2312.TXT?rev=1842&format=txt'
127+
128+
JIS0201.TXT JIS0208.TXT JIS0212.TXT:
129+
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/$(@F)
130+
131+
JOHAB.TXT KSX1001.TXT:
132+
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/KSC/$(@F)
133+
134+
KOI8-R.TXT KOI8-U.TXT:
135+
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/$(@F)
136+
137+
$(ISO8859TEXTS):
138+
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/ISO8859/$(@F)
139+
140+
$(filter-out CP8%,$(WINTEXTS)):
141+
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/$(@F)
142+
143+
$(filter CP8%,$(WINTEXTS)):
144+
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/$(@F)

0 commit comments

Comments
 (0)