git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make download rule to retrieve all (new) external data
[sheet.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 987db4152d9ba1ec0d73fc0d26d60099f61e4d1b..bc0c630b04a00bbc3e49acce496745fca5cf288b 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,13
+1,16
@@
all: unicode-char.inc.pl unicode-cover.inc.pl countries.inc.pl data/browser/support.inc.pl
all: unicode-char.inc.pl unicode-cover.inc.pl countries.inc.pl data/browser/support.inc.pl
+download: data/DerivedAge.txt data/rfc1345.txt data/countryInfo.txt data/caniuse.json
+.PHONY: download
+
data/DerivedAge.txt:
data/DerivedAge.txt:
-
wget http://www.unicode.org/Public/UNIDATA/DerivedAge.txt -O
$@
+
tools/wget-ifmodified http://www.unicode.org/Public/UNIDATA/$(@F)
$@
unicode-age.inc.pl: data/DerivedAge.txt
tools/mkcharver $< >$@
data/rfc1345.txt:
unicode-age.inc.pl: data/DerivedAge.txt
tools/mkcharver $< >$@
data/rfc1345.txt:
-
wget http://www.ietf.org/rfc/rfc1345.txt -O
$@
+
tools/wget-ifmodified http://www.ietf.org/rfc/$(@F)
$@
digraphs.inc.pl: data/rfc1345.txt
tools/mkdigraphlist $< >$@
digraphs.inc.pl: data/rfc1345.txt
tools/mkdigraphlist $< >$@
@@
-23,7
+26,7
@@
unicode-cover.inc.pl: ttfsupport tools/mkfontinfo
tools/mkfontinfo >$@
data/countryInfo.txt:
tools/mkfontinfo >$@
data/countryInfo.txt:
-
wget http://download.geonames.org/export/dump/countryInfo.txt -O
$@
+
tools/wget-ifmodified http://download.geonames.org/export/dump/$(@F)
$@
countries.inc.pl: data/countryInfo.txt
tools/mkcountries-geonames $< >$@
countries.inc.pl: data/countryInfo.txt
tools/mkcountries-geonames $< >$@