X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/42302c75aa79bb1f14328d6b249379169f5a4fa1..70e3b473d744176d9692900114c8beefc0527150:/Makefile diff --git a/Makefile b/Makefile index 038d80d..d7c1003 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,37 @@ -all: digraphs.inc.pl +all: unicode-char.inc.pl unicode-cover.inc.pl countries.inc.pl -digraphs.inc.pl: - ./rfc1345convert $(wildcard rfc1345.txt) > digraphs.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 $@ + +digraphs.inc.pl: data/rfc1345.txt + tools/mkdigraphlist data/rfc1345.txt >$@ + +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