From 8521d17ae94153b0613ec767f2f766b0dbb2429a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 16 Dec 2008 15:37:53 +0100 Subject: [PATCH] Allow TRANG to be set in Makefile --- xml/schema/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xml/schema/Makefile.am b/xml/schema/Makefile.am index ae85ddc..e4b38b6 100644 --- a/xml/schema/Makefile.am +++ b/xml/schema/Makefile.am @@ -1,4 +1,7 @@ +TRANG=trang +# TRANG=java -jar /home/adam/proj/trang-20081028/trang.jar + xmlschemadatadir = $(pkgdatadir)/xml/schema schemas = metaproxy.rnc metaproxy.rng metaproxy.xsd \ @@ -8,15 +11,13 @@ xmlschemadata_DATA = $(schemas) EXTRA_DIST = $(xmlschemadata_DATA) - - # pattern compile RelaxNG Compact to RelaxNG XML .rnc.rng: - trang $< $@ + $(TRANG) $< $@ # pattern compile RelaxNG Compact to XML Schema .rnc.xsd: - trang $< $@ + $(TRANG) $< $@ # needed to get dependencies correct -- 1.7.10.4