From d4a3fa7f0cd25240bf8a0a382301f96fa8f2a5ab Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 10 Feb 2015 05:31:17 +0100 Subject: [PATCH] countries: make rule to run include generation --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.30.0