From: Norman Walsh Date: Wed, 20 Mar 2002 15:36:50 +0000 (+0000) Subject: Allow validation as an option X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a6106a3f83aa39bdf3ec52d9bc9ac4a0a3680a8;p=docbook-dsssl Allow validation as an option --- diff --git a/testdocs/Makefile b/testdocs/Makefile index 3fd9f080c..579e2d6d4 100644 --- a/testdocs/Makefile +++ b/testdocs/Makefile @@ -12,6 +12,7 @@ XSLCHUNK=../xsl/html/chunk.xsl CHUNK=0 USETIDY=1 XSLPARAM= +VALIDATE=1 FORMATTER=xep @@ -27,7 +28,9 @@ clean: # ====================================================================== .xml.html: +ifeq ($(VALIDATE),1) $(XJPARSE) $< +endif ifeq ($(CHUNK),1) $(XSLT) $< $(XSLCHUNK) $@ $(XSLPARAM) ifeq ($(USETIDY),1) @@ -41,6 +44,9 @@ endif endif .xml.fo: +ifeq ($(VALIDATE),1) + $(XJPARSE) $< +endif ifeq ($(FORMATTER),tex) $(XSLT) $< $(XSLFO) $@ passivetex.extensions=1 $(XSLPARAM) else