Makefile: Added dependencies for unicodemap.c HEAD tip
authorTimo Sirainen <tss@iki.fi>
Thu Jan 26 15:42:09 2012 +0200 (3 months ago)
branchHEAD
changeset 6094f1d43140092
parent 608 a985261ea1ec
Makefile: Added dependencies for unicodemap.c
src/lib/Makefile.am
     1.1 --- a/src/lib/Makefile.am	Sat Dec 31 16:32:46 2011 +0200
     1.2 +++ b/src/lib/Makefile.am	Thu Jan 26 15:42:09 2012 +0200
     1.3 @@ -1,9 +1,11 @@
     1.4  BUILT_SOURCES = unicodemap.c
     1.5  
     1.6 -EXTRA_DIST = unicodemap.c unicodemap.pl
     1.7 +EXTRA_DIST = unicodemap.c unicodemap.pl UnicodeData.txt
     1.8  
     1.9 -$(srcdir)/unicodemap.c:
    1.10 +UnicodeData.txt:
    1.11  	test -f UnicodeData.txt || wget http://www.unicode.org/Public/UNIDATA/UnicodeData.txt
    1.12 +
    1.13 +$(srcdir)/unicodemap.c: unicodemap.pl UnicodeData.txt
    1.14  	perl $(srcdir)/unicodemap.pl < UnicodeData.txt > $@
    1.15  
    1.16  noinst_LIBRARIES = liblib.a