]> granicus.if.org Git - docbook-dsssl/commitdiff
Allow validation as an option
authorNorman Walsh <ndw@nwalsh.com>
Wed, 20 Mar 2002 15:36:50 +0000 (15:36 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 20 Mar 2002 15:36:50 +0000 (15:36 +0000)
testdocs/Makefile

index 3fd9f080c8198b1a95dc147545894df5bc6952ee..579e2d6d4ba896786d358bf8cd2461d9fba23695 100644 (file)
@@ -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