From fb0e77ff5d3c297f12a9e56c5e99e2bd9d296b30 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Wed, 16 Oct 2013 20:48:02 +0100 Subject: [PATCH] autotools: create a ucd-update target to regenerate the sources from UCD data --- Makefile.am | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4a69ddf1..280bbecd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -88,14 +88,10 @@ 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/categories.py ${UCD_ROOTDIR} ${UCD_VERSION} > $@ - -src/scripts.cpp: tools/scripts.py - tools/scripts.py ${UCD_ROOTDIR} ${UCD_VERSION} > $@ +ucd-update: tools/case.py tools/categories.py tools/scripts.py + tools/case.py ${UCD_ROOTDIR} ${UCD_VERSION} > src/case.cpp + tools/categories.py ${UCD_ROOTDIR} ${UCD_VERSION} > src/categories.cpp + tools/scripts.py ${UCD_ROOTDIR} ${UCD_VERSION} > src/scripts.cpp libucd_includedir = $(includedir)/ucd libucd_include_HEADERS = \