]> granicus.if.org Git - docbook-dsssl/commitdiff
Added variables for all stylesheets used in doc build.
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 7 Sep 2006 23:36:32 +0000 (23:36 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 7 Sep 2006 23:36:32 +0000 (23:36 +0000)
releasetools/Targets.mk
releasetools/Variables.mk

index 8aaab4ec73efa8e3db6bd808ba4a1af888b423a2..42ddf45cdfcc203203b3311bdab3173cf0614280 100644 (file)
@@ -9,7 +9,7 @@ debug:
 
 RELEASE-NOTES.html: RELEASE-NOTES.xml NEWS.xml
        $(XINCLUDE) $< > RELEASE-NOTES-TMP.xml
-       $(XSLT) RELEASE-NOTES-TMP.xml $(DOC-LINK-STYLE) $@
+       $(XSLT) RELEASE-NOTES-TMP.xml $(DOC_LINK_STYLE) $@
        $(RM) RELEASE-NOTES-TMP.xml
 
 RELEASE-NOTES.txt: RELEASE-NOTES.html
@@ -25,7 +25,7 @@ else
 ifeq ($(PDF_MAKER),dblatex)
        $(XSLT) RELEASE-NOTES-TMP.xml $(STRIP_NS) RELEASE-NOTES-STRIPPED-TMP.xml
        -$(DBLATEX) $(DBLATEX_FLAGS) \
-         -p $(DBX-STYLE) \
+         -p $(DBX_STYLE) \
          -o $@ \
          RELEASE-NOTES-STRIPPED-TMP.xml
        $(RM) RELEASE-NOTES-STRIPPED-TMP.xml
@@ -40,11 +40,11 @@ NEWS.xml: ChangeLog.xml
        $(XSLT) $< $(SVNLOG2DOCBOOK) $@ \
        previous-release="'$(PREVIOUS_RELEASE)'" \
        release-version="'$(RELVER)'" \
-       element.file="'$(shell readlink -f ./docsrc/docbook-elements.xsl)'" \
-       param.file="'$(shell readlink -f ./docsrc/xsl-params.xsl)'"
+       element.file="'$(shell readlink -f $(DOCBOOK_ELEMENTS))'" \
+       param.file="'$(shell readlink -f $(XSL_PARAMS))'"
 
 NEWS.html: NEWS.xml
-       $(XSLT) $< $(DOC-LINK-STYLE) $@
+       $(XSLT) $< $(DOC_LINK_STYLE) $@
 
 $(NEWSFILE): NEWS.html
        LANG=C $(BROWSER) $(BROWSER_OPTS) $< > $@
index 3ec4cdc145c62b9713517a56903ff0493ed792ce..316ae76c1db810c4dfcc66360650719d535db593 100644 (file)
@@ -14,18 +14,42 @@ CATALOGMANAGER=$(DOCBOOK_SVN)/releasetools/.CatalogManager.properties.example
 INSTALL_SH=$(DOCBOOK_SVN)/releasetools/install.sh
 MAKECATALOG=$(DOCBOOK_SVN)/releasetools/make-catalog.xsl
 
-# stylesheet to extract embedded jrefentry XML from XSL files
-XSL2JREF=$(DOCBOOK_SVN)/xsl/docsrc/xsl2jref.xsl
-# stylesheet for converting jrefentry XML to HTML output
-JREFHTML=$(DOCBOOK_SVN)/xsl/docsrc/jrefhtml.xsl
-# stylesheet for converting jrefentry XML to DocBook Refsect1
-JREF2REFSECT1=$(DOCBOOK_SVN)/xsl/docsrc/jref2refsect1.xsl
-
-# stylesheet for generating HTML version of release notes
-DOC-LINK-STYLE=$(DOCBOOK_SVN)/xsl/docsrc/doc-link-docbook.xsl
-
-# MARKUP_XSL is a modified version of Jeni Tennison's "Markup
-# Utility"
+DOCBUILD_STYLESHEETS=$(DOCBOOK_SVN)/xsl/tools/xsl/build
+
+# param.xml to param.html
+LREFENTRY=$(DOCBUILD_STYLESHEETS)/lrefentry.xsl
+# param.xml to param.html
+CLREFENTRY=$(DOCBUILD_STYLESHEETS)/clrefentry.xsl
+# pi.xml to pi.html
+PIREFENTRY=$(DOCBUILD_STYLESHEETS)/pirefentry.xsl
+# embedded doc in XSL files to jrefentry XML
+XSL2JREF=$(DOCBUILD_STYLESHEETS)/xsl2jref.xsl
+# jrefentry XML to HTML output
+JREFHTML=$(DOCBUILD_STYLESHEETS)/jrefhtml.xsl
+# jrefentry XML to DocBook Refsect1
+JREF2REFSECT1=$(DOCBUILD_STYLESHEETS)/jref2refsect1.xsl
+
+# RNG file to elements list
+MAKE_ELEMENTS_XSL=$(DOCBUILD_STYLESHEETS)/make-elements.xsl
+# XSL params files to params list
+MAKE_PARAMS_XSL=$(DOCBUILD_STYLESHEETS)/make-xsl-params.xsl
+# generated elements list
+DOCBOOK_ELEMENTS=$(DOCBUILD_STYLESHEETS)/docbook-elements.xsl
+XSL_PARAMS=$(DOCBUILD_STYLESHEETS)/xsl-params.xsl
+
+# reference.xml to reference.html
+RSTYLE=$(DOCBUILD_STYLESHEETS)/reference.xsl
+# reference.dbk to reference.fo
+REFERENCEFOXSL=$(DOCBUILD_STYLESHEETS)/reference-fo.xsl
+# reference.dbk to reference.txt
+REFERENCETXTXSL=$(DOCBUILD_STYLESHEETS)/reference-txt.xsl
+
+# RELEASE-NOTES.xml to RELEASE-NOTES.html
+DOC_LINK_STYLE=$(DOCBUILD_STYLESHEETS)/doc-link-docbook.xsl
+# RELEASE-NOTES.xml to RELEASE-NOTES.pdf
+DBX_STYLE=$(DOCBUILD_STYLESHEETS)/dblatex-release-notes.xsl
+
+# MARKUP_XSL is a modified version of Jeni Tennison's "Markup Utility"
 MARKUP_XSL=$(DOCBOOK_SVN)/contrib/tools/tennison/modified-markup.xsl
 
 # stylesheet used in taking XML output from the cvs2cl(1) perl
@@ -53,10 +77,7 @@ PREVIOUS_RELEASE=$(shell echo '$(GET_PREVIOUS_RELEASE)' | $(XSLTPROC) $(XSLTPROC
 STRIP_NS=$(DOCBOOK_SVN)/xsl/common/stripns.xsl
 
 # stylesheet for generating FO version of release notes
-FO-STYLE=$(DOCBOOK_SVN)/xsl/fo/docbook.xsl
-
-# stylesheet for generating PDF of release notes with dblatex
-DBX-STYLE=$(DOCBOOK_SVN)/xsl/docsrc/dblatex-release-notes.xsl
+FO_STYLE=$(DOCBOOK_SVN)/xsl/fo/docbook.xsl
 
 # browser to use for making text version of release notes
 # w3mmee is a fork of w3m; it provides a lot more options for