rfc1345convert: defer source download to makefile
[sheet.git] / Makefile
index b44eaaae7f3042f00811132f77f56de8583a9b9c..23cdb70ab33bc2859d3ce4379be2657ffe326e87 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
 all: unicode-char.inc.pl ttfsupport
 
-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
+       ./rfc1345convert data/rfc1345.txt >$@
 
 unicode-char.inc.pl: digraphs.inc.pl
        tools/convert-unicode.pl >$@