countries: hardcode codes reserved for WIPO
[sheet.git] / Makefile
index b44eaaa..4782932 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,24 @@
-all: unicode-char.inc.pl ttfsupport
+all: unicode-char.inc.pl unicode-cover.inc.pl
 
-digraphs.inc.pl:
-       ./rfc1345convert $(wildcard rfc1345.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
-       tools/convert-unicode.pl >$@
+       tools/mkcharinfo >$@
 
 ttfsupport:
        mkdir ttfsupport
        tools/convert-allfonts
 
+unicode-cover.inc.pl: ttfsupport tools/mkfontinfo
+       tools/mkfontinfo >$@
+
 clean:
        -rm digraphs.inc.pl
        -rm unicode-char.inc.pl
        -rm -rf ttfsupport/
+       -rm unicode-cover.inc.pl