countries: hardcode codes reserved for WIPO
[sheet.git] / Makefile
index 038d80d..4782932 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,24 @@
-all: digraphs.inc.pl
+all: unicode-char.inc.pl unicode-cover.inc.pl
 
-digraphs.inc.pl:
-       ./rfc1345convert $(wildcard rfc1345.txt) > digraphs.inc.pl
+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/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