From 65c3bc33b60cc566eb543e0b9d33ad7661018c53 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Fri, 25 Jan 2013 11:32:37 +0000 Subject: [PATCH] autotools: fix the dependencies on the UCD files. --- Makefile.am | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index c41d2e4b..52e46e36 100644 --- a/Makefile.am +++ b/Makefile.am @@ -75,20 +75,26 @@ data/ucd/UnicodeData.txt: ############################# libucd ########################################## -src/case.cpp: tools/case.py tools/ucd.py \ +tools/ucd.py: data/language-subtag-registry + +tools/case.py: tools/ucd.py \ + data/ucd/UnicodeData.txt + +tools/categories.py: tools/ucd.py \ supplemental/Klingon.txt \ data/ucd/UnicodeData.txt + +tools/scripts.py: tools/ucd.py \ + supplemental/Klingon.txt \ + data/ucd/Scripts.txt + +src/case.cpp: tools/case.py tools/case.py ${UCD_ROOTDIR} ${UCD_VERSION} > $@ -src/categories.cpp: tools/categories.py tools/ucd.py \ - supplemental/Klingon.txt \ - data/ucd/UnicodeData.txt +src/categories.cpp: tools/categories.py tools/categories.py ${UCD_ROOTDIR} ${UCD_VERSION} > $@ -src/scripts.cpp: tools/scripts.py tools/ucd.py \ - supplemental/Klingon.txt \ - data/language-subtag-registry \ - data/ucd/Scripts.txt +src/scripts.cpp: tools/scripts.py tools/scripts.py ${UCD_ROOTDIR} ${UCD_VERSION} > $@ libucd_includedir = $(includedir)/ucd