From: Adam Dickmeiss Date: Tue, 16 Dec 2008 14:37:53 +0000 (+0100) Subject: Allow TRANG to be set in Makefile X-Git-Tag: v1.0.16~28 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=8521d17ae94153b0613ec767f2f766b0dbb2429a;p=metaproxy-moved-to-github.git Allow TRANG to be set in Makefile --- 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