From d50d836a5b073c75c9633932b0831d78217cabc8 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Mon, 1 Oct 2001 10:10:30 +0000 Subject: [PATCH] Updated --- litprog/Makefile | 31 ++++++++++++++++++++----------- litprog/html/Makefile | 6 +++++- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/litprog/Makefile b/litprog/Makefile index 9f6781644..90a2b7d22 100644 --- a/litprog/Makefile +++ b/litprog/Makefile @@ -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} diff --git a/litprog/html/Makefile b/litprog/html/Makefile index 88c861462..6ea11a0ac 100644 --- a/litprog/html/Makefile +++ b/litprog/html/Makefile @@ -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 $@ -- 2.40.0