From: <xm...@us...> - 2006-09-07 23:36:40
|
Revision: 6266 http://svn.sourceforge.net/docbook/?rev=6266&view=rev Author: xmldoc Date: 2006-09-07 16:36:32 -0700 (Thu, 07 Sep 2006) Log Message: ----------- Added variables for all stylesheets used in doc build. Modified Paths: -------------- trunk/releasetools/Targets.mk trunk/releasetools/Variables.mk Modified: trunk/releasetools/Targets.mk =================================================================== --- trunk/releasetools/Targets.mk 2006-09-07 23:35:11 UTC (rev 6265) +++ trunk/releasetools/Targets.mk 2006-09-07 23:36:32 UTC (rev 6266) @@ -9,7 +9,7 @@ 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 @@ 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 @@ $(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) $< > $@ Modified: trunk/releasetools/Variables.mk =================================================================== --- trunk/releasetools/Variables.mk 2006-09-07 23:35:11 UTC (rev 6265) +++ trunk/releasetools/Variables.mk 2006-09-07 23:36:32 UTC (rev 6266) @@ -14,18 +14,42 @@ 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 +DOCBUILD_STYLESHEETS=$(DOCBOOK_SVN)/xsl/tools/xsl/build -# stylesheet for generating HTML version of release notes -DOC-LINK-STYLE=$(DOCBOOK_SVN)/xsl/docsrc/doc-link-docbook.xsl +# 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 -# MARKUP_XSL is a modified version of Jeni Tennison's "Markup -# Utility" +# 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,11 +77,8 @@ STRIP_NS=$(DOCBOOK_SVN)/xsl/common/stripns.xsl # stylesheet for generating FO version of release notes -FO-STYLE=$(DOCBOOK_SVN)/xsl/fo/docbook.xsl +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 - # browser to use for making text version of release notes # w3mmee is a fork of w3m; it provides a lot more options for # charset handling; other possible values for BROWSER include This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |