X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/b5b3537710ed9f73e1c867e0cc27d50439eaf4cd..6705ca954ca9bf786175106c6878fb4d94354a31:/Makefile diff --git a/Makefile b/Makefile index 8666e82..8d71274 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 $@ @@ -13,8 +19,19 @@ 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