From: Michael Smith Date: Sat, 7 Jul 2007 08:30:03 +0000 (+0000) Subject: Made a temporary copy of the docsrc dir to use in migrating the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71b45a96f7896566f5619e6dc65b091259aa715c;p=docbook-dsssl Made a temporary copy of the docsrc dir to use in migrating the docsrc build. --- diff --git a/xsl/docsrcx/Makefile b/xsl/docsrcx/Makefile new file mode 100644 index 000000000..04fb8798d --- /dev/null +++ b/xsl/docsrcx/Makefile @@ -0,0 +1,32 @@ +include ../../releasetools/Variables.mk +DIRS=common refentry html fo manpages roundtrip slides-html slides-fo website template utility pi-fo pi-html pi-common + +DOCBOOK_RNG=$(DOCBOOK_SVN)/releasetools/docbook.rng +PARAM_XSL_FILES=$(shell for file in $$(find .. -name "param.xsl"); do \ + readlink -f $$file; done | grep -v xhtml) + +all: base $(DOCBOOK_ELEMENTS) $(XSL_PARAMS) + +base: + for i in $(DIRS) __bogus__; do \ + if [ $$i != __bogus__ ] ; then \ + echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \ + fi \ + done + +clean: + for i in $(DIRS) __bogus__; do \ + if [ $$i != __bogus__ ] ; then \ + echo "$(MAKE) -C $$i clean"; $(MAKE) -C $$i clean; \ + fi \ + done + +$(DOCBOOK_ELEMENTS): $(MAKE_ELEMENTS_XSL) $(DOCBOOK_RNG) + $(XSLT) $(DOCBOOK_RNG) $< $@ + +$(XSL_PARAMS): $(MAKE_PARAMS_XSL) $(PARAM_XSL_FILES) + $(XSLT) $< $< $@ + +release-clean: clean + $(RM) $(DOCBOOK_ELEMENTS) + $(RM) $(XSL_PARAMS) diff --git a/xsl/docsrcx/Makefile.incl b/xsl/docsrcx/Makefile.incl new file mode 100644 index 000000000..da8aaa64f --- /dev/null +++ b/xsl/docsrcx/Makefile.incl @@ -0,0 +1,25 @@ +XJPARSEFLAGS=-E 0 -w +all: $(XMLFILES) + +clean: + $(RM) $(XMLFILES) + +%.refsect1.xml: %.xml $(JREF2REFSECT1) + $(XSLT) $< $(JREF2REFSECT1) $@ + +%.xml : %.xsl $(XSL2JREF) + $(XSLT) $< $(XSL2JREF) /dev/null output-file=$@ + $(XJPARSE) $(XJPARSEFLAGS) $@ + +docparam.xml: $(VPATH)/param.xweb $(PARAMS) + $(DOCBOOK_SVN)/buildtools/paramchk -m Makefile.param $< + $(XSLT) $< ../../profiling/profile.xsl $(PARAMPROF) profile.condition=html + $(XSLT) $(PARAMPROF) ../../profiling/strip-attributes.xsl $(PARAMSTRIP) attributes=condition +ifeq ($(ADDNEWLINE),) + $(XSLT) $(PARAMSTRIP) $(DOCBOOK_SVN)/releasetools/w2docbook.xsl $@ +else + $(XSLT) $(PARAMSTRIP) $(DOCBOOK_SVN)/releasetools/w2docbook.xsl $@.tmp + $(XSLT) $@.tmp $(ADDNEWLINE) $@ + $(RM) $@.tmp +endif + $(RM) $(PARAMPROF) $(PARAMSTRIP) diff --git a/xsl/docsrcx/authors.xml b/xsl/docsrcx/authors.xml new file mode 100644 index 000000000..ee203251a --- /dev/null +++ b/xsl/docsrcx/authors.xml @@ -0,0 +1,11 @@ + + + + WalshNorman + + + + The DocBook Project + + diff --git a/xsl/docsrcx/common/.cvsignore b/xsl/docsrcx/common/.cvsignore new file mode 100644 index 000000000..6722cd96e --- /dev/null +++ b/xsl/docsrcx/common/.cvsignore @@ -0,0 +1 @@ +*.xml diff --git a/xsl/docsrcx/common/Makefile b/xsl/docsrcx/common/Makefile new file mode 100644 index 000000000..01e1c7829 --- /dev/null +++ b/xsl/docsrcx/common/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../common +XMLFILES = common.xml common.refsect1.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/copyright.xml b/xsl/docsrcx/copyright.xml new file mode 100644 index 000000000..31948ddce --- /dev/null +++ b/xsl/docsrcx/copyright.xml @@ -0,0 +1,19 @@ + + + 1999-2007 + Norman Walsh + + + 2003 + Jiří Kosek + + + 2004-2007 + Steve Ball + + + 2001-2007 + The DocBook Project + + diff --git a/xsl/docsrcx/fo/.cvsignore b/xsl/docsrcx/fo/.cvsignore new file mode 100644 index 000000000..597a43c7d --- /dev/null +++ b/xsl/docsrcx/fo/.cvsignore @@ -0,0 +1,2 @@ +*.xml +Makefile.param diff --git a/xsl/docsrcx/fo/Makefile b/xsl/docsrcx/fo/Makefile new file mode 100644 index 000000000..844ee0bd7 --- /dev/null +++ b/xsl/docsrcx/fo/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../fo +XMLFILES = docparam.xml table.xml table.refsect1.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/html/.cvsignore b/xsl/docsrcx/html/.cvsignore new file mode 100644 index 000000000..597a43c7d --- /dev/null +++ b/xsl/docsrcx/html/.cvsignore @@ -0,0 +1,2 @@ +*.xml +Makefile.param diff --git a/xsl/docsrcx/html/Makefile b/xsl/docsrcx/html/Makefile new file mode 100644 index 000000000..51cc59c8e --- /dev/null +++ b/xsl/docsrcx/html/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../html +XMLFILES = docparam.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/license.xml b/xsl/docsrcx/license.xml new file mode 100644 index 000000000..017a9ed97 --- /dev/null +++ b/xsl/docsrcx/license.xml @@ -0,0 +1,26 @@ +License + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation files +(the Software), to deal in the Software without +restriction, including without limitation the rights to use, copy, +modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +Except as contained in this notice, the names of individuals +credited with contribution to this software shall not be used in +advertising or otherwise to promote the sale, use or other dealings in +this Software without prior written authorization from the individuals +in question. + +Any stylesheet derived from this Software that is publically +distributed will be identified with a different name and the version +strings in any derived Software will be changed so that no possibility +of confusion between the derived package and this Software will +exist. + diff --git a/xsl/docsrcx/manpages/.cvsignore b/xsl/docsrcx/manpages/.cvsignore new file mode 100644 index 000000000..597a43c7d --- /dev/null +++ b/xsl/docsrcx/manpages/.cvsignore @@ -0,0 +1,2 @@ +*.xml +Makefile.param diff --git a/xsl/docsrcx/manpages/Makefile b/xsl/docsrcx/manpages/Makefile new file mode 100644 index 000000000..c1b074518 --- /dev/null +++ b/xsl/docsrcx/manpages/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../manpages +XMLFILES = docparam.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/pi-common/Makefile b/xsl/docsrcx/pi-common/Makefile new file mode 100644 index 000000000..35830a370 --- /dev/null +++ b/xsl/docsrcx/pi-common/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../common +XMLFILES = pi.xml pi.refsect1.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/pi-fo/Makefile b/xsl/docsrcx/pi-fo/Makefile new file mode 100644 index 000000000..d3a4b8fb5 --- /dev/null +++ b/xsl/docsrcx/pi-fo/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../fo +XMLFILES = pi.xml pi.refsect1.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/pi-html/Makefile b/xsl/docsrcx/pi-html/Makefile new file mode 100644 index 000000000..d3a4b8fb5 --- /dev/null +++ b/xsl/docsrcx/pi-html/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../fo +XMLFILES = pi.xml pi.refsect1.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/refentry/.cvsignore b/xsl/docsrcx/refentry/.cvsignore new file mode 100644 index 000000000..6722cd96e --- /dev/null +++ b/xsl/docsrcx/refentry/.cvsignore @@ -0,0 +1 @@ +*.xml diff --git a/xsl/docsrcx/refentry/Makefile b/xsl/docsrcx/refentry/Makefile new file mode 100644 index 000000000..5be64c7b7 --- /dev/null +++ b/xsl/docsrcx/refentry/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../common +XMLFILES = refentry.xml refentry.refsect1.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/reference.dbk b/xsl/docsrcx/reference.dbk new file mode 100644 index 000000000..c19123983 --- /dev/null +++ b/xsl/docsrcx/reference.dbk @@ -0,0 +1,266 @@ + + + DocBook XSL Stylesheets: Reference Documentation + $Id$ + + + + + + About this document + This is generated reference documentation for the DocBook + XSL stylesheets, primarily documentation on the parameters you + can adjust to control the behavior of the stylesheets. + + This is purely reference documentation â€“ not how-to + documentation. For a thorough step-by-step how-to guide to + publishing content using the DocBook XSL stylesheets, see + Bob Stayton’s DocBook XSL: The Complete Guide, available online + at http://www.sagehill.net/docbookxsl/index.html + + + This document is divided into three sets of references: + the first two sets provides user documentation; the third, + developer documentation. + + + DocBook XSL Stylesheets User Reference: Parameters + + + This is generated reference documentation for all + user-configurable parameters in the DocBook XSL + stylesheets. + + This is purely reference documentation â€“ not how-to + documentation. For a thorough step-by-step how-to guide to + publishing content using the DocBook XSL stylesheets, see + Bob Stayton’s DocBook XSL: The Complete Guide, available online + at http://www.sagehill.net/docbookxsl/index.html + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DocBook XSL Stylesheets User Reference: PIs + + + This is generated reference documentation for all + user-specifiable processing instructions in the DocBook + XSL stylesheets. + + You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + + + Templates + + + + + + + + + Templates + + + + + + + + + Templates + + + + + DocBook XSL Stylesheets Developer Reference + + + This is technical reference documentation for + developers using the DocBook XSL Stylesheets. It is not + intended to be user documentation, but is instead + provided for developers writing customization layers for + the stylesheets. + + + + + + + + + + + + + + + + + + Templates + + + + + + + + + + + Templates + + + + + + + + + + + Templates + + + + + + + + + + + Templates + + + + + + + + + + + Templates + + + + + diff --git a/xsl/docsrcx/reference.xml b/xsl/docsrcx/reference.xml new file mode 100644 index 000000000..c009075a8 --- /dev/null +++ b/xsl/docsrcx/reference.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + +]> + + + DocBook XSL Stylesheet Reference Documentation + + $Id$ + + Walsh + Norman + + 1999-2007 + Norman Walsh + + + + + About this document + + This is generated reference documentation for the DocBook XSL + stylesheets, primarily documentation on the parameters you can + adjust to control the behavior of the stylesheets. + + + This is purely reference documentation â€“ not how-to + documentation. For a thorough step-by-step how-to guide to + publishing content using the DocBook XSL stylesheets, see Bob + Stayton’s DocBook + XSL: The Complete Guide, available online at http://www.sagehill.net/docbookxsl/index.html + + + This document is divided into two sets of references: the + first set provides user documentation; the second, developer + documentation. + + + User documentation + + + + + + + + + + + + + + + + + + Developer documentation + + + + + + + + + + + + + + + + diff --git a/xsl/docsrcx/roundtrip/.cvsignore b/xsl/docsrcx/roundtrip/.cvsignore new file mode 100644 index 000000000..597a43c7d --- /dev/null +++ b/xsl/docsrcx/roundtrip/.cvsignore @@ -0,0 +1,2 @@ +*.xml +Makefile.param diff --git a/xsl/docsrcx/roundtrip/Makefile b/xsl/docsrcx/roundtrip/Makefile new file mode 100644 index 000000000..7d254aef9 --- /dev/null +++ b/xsl/docsrcx/roundtrip/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../roundtrip +XMLFILES = docparam.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/slides-fo/.cvsignore b/xsl/docsrcx/slides-fo/.cvsignore new file mode 100644 index 000000000..597a43c7d --- /dev/null +++ b/xsl/docsrcx/slides-fo/.cvsignore @@ -0,0 +1,2 @@ +*.xml +Makefile.param diff --git a/xsl/docsrcx/slides-fo/Makefile b/xsl/docsrcx/slides-fo/Makefile new file mode 100644 index 000000000..ea6ba303c --- /dev/null +++ b/xsl/docsrcx/slides-fo/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../slides/fo +XMLFILES = docparam.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/slides-html/.cvsignore b/xsl/docsrcx/slides-html/.cvsignore new file mode 100644 index 000000000..597a43c7d --- /dev/null +++ b/xsl/docsrcx/slides-html/.cvsignore @@ -0,0 +1,2 @@ +*.xml +Makefile.param diff --git a/xsl/docsrcx/slides-html/Makefile b/xsl/docsrcx/slides-html/Makefile new file mode 100644 index 000000000..f6e2a8bde --- /dev/null +++ b/xsl/docsrcx/slides-html/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../slides/html +XMLFILES = docparam.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/template/.cvsignore b/xsl/docsrcx/template/.cvsignore new file mode 100644 index 000000000..6722cd96e --- /dev/null +++ b/xsl/docsrcx/template/.cvsignore @@ -0,0 +1 @@ +*.xml diff --git a/xsl/docsrcx/template/Makefile b/xsl/docsrcx/template/Makefile new file mode 100644 index 000000000..dad0c4d82 --- /dev/null +++ b/xsl/docsrcx/template/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../template +XMLFILES = titlepage.xml titlepage.refsect1.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/utility/.cvsignore b/xsl/docsrcx/utility/.cvsignore new file mode 100644 index 000000000..6722cd96e --- /dev/null +++ b/xsl/docsrcx/utility/.cvsignore @@ -0,0 +1 @@ +*.xml diff --git a/xsl/docsrcx/utility/Makefile b/xsl/docsrcx/utility/Makefile new file mode 100644 index 000000000..259c18706 --- /dev/null +++ b/xsl/docsrcx/utility/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../common +XMLFILES = utility.xml utility.refsect1.xml +include ../Makefile.incl diff --git a/xsl/docsrcx/warranty.xml b/xsl/docsrcx/warranty.xml new file mode 100644 index 000000000..99d230f2a --- /dev/null +++ b/xsl/docsrcx/warranty.xml @@ -0,0 +1,14 @@ + + +Warranty +THE SOFTWARE IS PROVIDED AS IS, +WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY +OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT +OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/xsl/docsrcx/website/.cvsignore b/xsl/docsrcx/website/.cvsignore new file mode 100644 index 000000000..597a43c7d --- /dev/null +++ b/xsl/docsrcx/website/.cvsignore @@ -0,0 +1,2 @@ +*.xml +Makefile.param diff --git a/xsl/docsrcx/website/Makefile b/xsl/docsrcx/website/Makefile new file mode 100644 index 000000000..0928cb056 --- /dev/null +++ b/xsl/docsrcx/website/Makefile @@ -0,0 +1,4 @@ +include ../../../releasetools/Variables.mk +VPATH=../../website +XMLFILES = docparam.xml +include ../Makefile.incl