From: Bob Stayton Date: Tue, 23 Oct 2001 08:11:31 +0000 (+0000) Subject: Fixed directory bugs. X-Git-Tag: release/1.79.1~6^2~6171 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a46c05e7a3b5c2efe34da8a46414aa2f590596f8;p=docbook-dsssl Fixed directory bugs. --- diff --git a/contrib/xsl-custom/newolink/examples/Makefile b/contrib/xsl-custom/newolink/examples/Makefile index 986224727..9cc061e56 100644 --- a/contrib/xsl-custom/newolink/examples/Makefile +++ b/contrib/xsl-custom/newolink/examples/Makefile @@ -17,13 +17,15 @@ reftargets.xml : ref.xml # Single-file output user guide $(UG-BASEURI) : userguide.xml reftargets.xml targetdb.xml ugtargets.xml - xsltproc --param target.database.document '"../docsrc/targetdb.xml"' \ + test -d ../docroot/UserGuide || mkdir -p ../docroot/UserGuide + xsltproc --param target.database.document '"../examples/targetdb.xml"' \ ../tools/custom.xsl userguide.xml > $(UG-BASEURI) 2> ug.err # Chunked output reference $(REF)/index.html : ref.xml ugtargets.xml targetdb.xml reftargets.xml - xsltproc --param target.database.document '"../docsrc/targetdb.xml"' \ + test -d ../docroot/Reference || mkdir -p ../docroot/Reference + xsltproc --param target.database.document '"../examples/targetdb.xml"' \ --output "../docroot/Reference/" \ --param quiet 1 \ ../tools/chunkcustom.xsl ref.xml 2> ref.err @@ -45,22 +47,23 @@ modtargets.xml : $(SRC) # Process the whole book modular: modtargets.xml + test -d ../docroot/Modular || mkdir -p ../docroot/Modular rm -f ../docroot/Modular/* - xsltproc --param target.database.document '"../docsrc/targetdb.xml"' \ + xsltproc --param target.database.document '"../examples/targetdb.xml"' \ --xinclude \ --output "../docroot/Modular/" \ ../tools/chunkcustom.xsl modular.xml 2> mod.err # Process the preface only preface : preface.xml - xsltproc --param target.database.document '"../docsrc/targetdb.xml"' \ + xsltproc --param target.database.document '"../examples/targetdb.xml"' \ --xinclude \ --output "../docroot/Modular/" \ ../tools/chunkcustom.xsl preface.xml # Process the chapter only intro : introduction.xml - xsltproc --param target.database.document '"../docsrc/targetdb.xml"' \ + xsltproc --param target.database.document '"../examples/targetdb.xml"' \ --xinclude \ --output "../docroot/Modular/" \ ../tools/chunkcustom.xsl introduction.xml