From: Mischa POSLAWSKY Date: Tue, 10 Feb 2015 04:31:17 +0000 (+0100) Subject: countries: make rule to run include generation X-Git-Tag: v1.7~174 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/d4a3fa7f0cd25240bf8a0a382301f96fa8f2a5ab countries: make rule to run include generation --- diff --git a/Makefile b/Makefile index 4782932..30f62a9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all: unicode-char.inc.pl unicode-cover.inc.pl +all: unicode-char.inc.pl unicode-cover.inc.pl countries.inc.pl data/rfc1345.txt: wget http://www.ietf.org/rfc/rfc1345.txt -O $@ @@ -16,6 +16,12 @@ ttfsupport: 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