X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/42302c75aa79bb1f14328d6b249379169f5a4fa1..9fdb790af227473fc9d01416254aeb9d82df47ce:/Makefile diff --git a/Makefile b/Makefile index 038d80d..4e51768 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,40 @@ -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 >$@ + +data/caniuse.json: + tools/wget-ifmodified http://caniuse.com/data.json $@ clean: -rm digraphs.inc.pl + -rm unicode-char.inc.pl + -rm unicode-age.inc.pl + -rm -rf ttfsupport/ + -rm unicode-cover.inc.pl