X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/b5b3537710ed9f73e1c867e0cc27d50439eaf4cd..70e3b473d744176d9692900114c8beefc0527150:/Makefile diff --git a/Makefile b/Makefile index 8666e82..d7c1003 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,10 @@ -all: unicode-char.inc.pl ttfsupport +all: unicode-char.inc.pl unicode-cover.inc.pl countries.inc.pl + +data/DerivedAge.txt: + wget http://www.unicode.org/Public/UNIDATA/DerivedAge.txt -O $@ + +unicode-age.inc.pl: data/DerivedAge.txt + tools/mkcharver data/DerivedAge.txt >$@ data/rfc1345.txt: wget http://www.ietf.org/rfc/rfc1345.txt -O $@ @@ -6,15 +12,26 @@ data/rfc1345.txt: digraphs.inc.pl: data/rfc1345.txt tools/mkdigraphlist data/rfc1345.txt >$@ -unicode-char.inc.pl: digraphs.inc.pl +unicode-char.inc.pl: digraphs.inc.pl unicode-age.inc.pl tools/mkcharinfo >$@ ttfsupport: mkdir ttfsupport tools/convert-allfonts +unicode-cover.inc.pl: ttfsupport tools/mkfontinfo + tools/mkfontinfo >$@ + +data/countryInfo.txt: + wget http://download.geonames.org/export/dump/countryInfo.txt -O $@ + +countries.inc.pl: data/countryInfo.txt + tools/mkcountries-geonames data/countryInfo.txt >$@ + clean: -rm digraphs.inc.pl -rm unicode-char.inc.pl + -rm unicode-age.inc.pl -rm -rf ttfsupport/ + -rm unicode-cover.inc.pl