]> granicus.if.org Git - docbook-dsssl/commitdiff
Updated
authorNorman Walsh <ndw@nwalsh.com>
Mon, 1 Oct 2001 10:10:30 +0000 (10:10 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 1 Oct 2001 10:10:30 +0000 (10:10 +0000)
litprog/Makefile
litprog/html/Makefile

index 9f67816441735b431986274f2d28f79bc21e85e8..90a2b7d221372506f16a745b04c3ba16a0cabd0b 100644 (file)
@@ -1,13 +1,17 @@
 include ../cvstools/Makefile.incl
 
-all: tangle.html weave.html wdocbook.html
+all: tangle.xsl weave.xsl wdocbook.xsl
        $(MAKE) -C html
 
-tangle.html: tangle.xml litprog.xsl
-       $(XSLT) $< litprog.xsl $@
+xml: tangle.xml weave.xml wdocbook.xml
 
-tangle.xml: tangle.xweb weave.xsl
-       $(XSLT) $< weave.xsl $@
+html: xml tangle.html weave.html wdocbook.html
+
+tangle.html: tangle.xml html/ldocbook.xsl
+       $(XSLT) $< html/ldocbook.xsl $@
+
+tangle.xml: tangle.xweb wdocbook.xsl
+       $(XSLT) $< wdocbook.xsl $@
 
 # Can this rule be improved? Ideally bootstrap-tangle should only be
 # required if tangle.xsl doesn't exist. If it exists but is out-of-date
@@ -17,11 +21,11 @@ tangle.xsl: tangle.xweb bootstrap-tangle.xsl
        $(XSLT) $< .temp.xsl tangle.xsl
        rm -f .temp.xsl
 
-weave.html: weave.xml litprog.xsl
-       $(XSLT)  $< litprog.xsl $@
+weave.html: weave.xml html/ldocbook.xsl
+       $(XSLT)  $< html/ldocbook.xsl $@
 
-weave.xml: weave.xweb weave.xsl
-       $(XSLT)  $< weave.xsl $@
+weave.xml: weave.xweb wdocbook.xsl
+       $(XSLT)  $< wdocbook.xsl $@
        xjparse $@
 
 weave.xsl: weave.xweb tangle.xsl
@@ -30,8 +34,13 @@ weave.xsl: weave.xweb tangle.xsl
 wdocbook.html: wdocbook.xml wdocbook.xsl
        $(XSLT) $< wdocbook.xsl $@
 
-wdocbook.xml: wdocbook.xweb weave.xsl
-       $(XSLT) $< weave.xsl $@
+wdocbook.xml: wdocbook.xweb wdocbook.xsl
+       $(XSLT) $< wdocbook.xsl $@
 
 wdocbook.xsl: wdocbook.xweb tangle.xsl
        $(XSLT) $< tangle.xsl $@
+
+clean:
+       rm -f weave.{xsl,xml,html}
+       rm -f tangle.{xsl,xml,html}
+       rm -f wdocbook.{xsl,xml,html}
index 88c861462b9bbd0aac759e43556a6b975e9af43f..6ea11a0ac7a2ac128cd5d06f15442d04076dd9fa 100644 (file)
@@ -1,6 +1,10 @@
 include ../../cvstools/Makefile.incl
 
-all: ldocbook.html
+all: ldocbook.xsl
+
+xml: ldocbook.xml
+
+html: ldocbook.html
 
 ldocbook.html: ldocbook.xml ldocbook.xsl
        $(XSLT) $< ldocbook.xsl $@