From: <xm...@us...> - 2006-09-03 17:13:28
|
Revision: 6250 http://svn.sourceforge.net/docbook/?rev=6250&view=rev Author: xmldoc Date: 2006-09-03 10:12:45 -0700 (Sun, 03 Sep 2006) Log Message: ----------- Attempted to streamline maintenance of doc and docsrc builds a bit by consolidating common targets and pattern rules in Makefile.incl files that get included by makefiles within subdirectories. Modified Paths: -------------- trunk/xsl/Makefile trunk/xsl/doc/Makefile trunk/xsl/doc/common/Makefile trunk/xsl/doc/fo/Makefile trunk/xsl/doc/html/Makefile trunk/xsl/doc/lib/Makefile trunk/xsl/doc/manpages/Makefile trunk/xsl/doc/pi/Makefile trunk/xsl/doc/slides/Makefile trunk/xsl/doc/template/Makefile trunk/xsl/doc/website/Makefile trunk/xsl/doc/wordml/Makefile trunk/xsl/docsrc/Makefile trunk/xsl/docsrc/common/Makefile trunk/xsl/docsrc/fo/Makefile trunk/xsl/docsrc/html/Makefile trunk/xsl/docsrc/manpages/Makefile trunk/xsl/docsrc/refentry/Makefile trunk/xsl/docsrc/reference.dbk trunk/xsl/docsrc/slides/Makefile trunk/xsl/docsrc/template/Makefile trunk/xsl/docsrc/website/Makefile trunk/xsl/docsrc/wordml/Makefile Added Paths: ----------- trunk/xsl/doc/Makefile.incl trunk/xsl/docsrc/Makefile.incl trunk/xsl/docsrc/jref2refsect1.xsl Removed Paths: ------------- trunk/xsl/docsrc/pi/Makefile trunk/xsl/docsrc/torefsect1.xsl Modified: trunk/xsl/Makefile =================================================================== --- trunk/xsl/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -7,7 +7,7 @@ # value of DISTRIB_DEPENDS is a space-separated list of any # targets for this distro's "distrib" target to depend on -DISTRIB_DEPENDS = website slides doc install.sh +DISTRIB_DEPENDS = doc install.sh # value of ZIP_EXCLUDES is a space-separated list of any file or # directory names (shell wildcards OK) that should be excluded @@ -25,11 +25,11 @@ DIRS=extensions common lib html fo manpages htmlhelp javahelp wordml -.PHONY: distrib clean doc xhtml +.PHONY: distrib clean doc docsrc xhtml -all: litprog base xhtml docsrc +all: base xhtml -base: +base: litprog for i in $(DIRS) __bogus__; do \ if [ $$i != __bogus__ ] ; then \ echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \ @@ -42,11 +42,10 @@ xhtml: $(MAKE) -C xhtml -docsrc: +docsrc: base website slides $(MAKE) -C docsrc -doc: - $(MAKE) -C docsrc +doc: docsrc $(MAKE) -C doc website: Modified: trunk/xsl/doc/Makefile =================================================================== --- trunk/xsl/doc/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,77 +1,4 @@ -include ../../cvstools/Makefile.incl -XSLTOPT= -PROCOPT= - -PDF_MAKER=xep -DOCBOOK_FILE_EXTENSION=.dbk -REFERENCE_MAKEFILE=../tools/make/Makefile.DocBook -FO_PARAMS = "--stringparam refentry.pagebreak 0" -HTML_PARAMS = "--stringparam html.longdesc 0 --param local.l10n.xml \"document('../common/l10n.xsl')\" --stringparam reference.autolabel '1' --stringparam toc.max.depth '1'" -TXT_MAKER = "LANG=C w3mmee" -TXT_MAKER_FLAGS = "-dump -config $(W3MMEECONFIG)" -W3MMEECONFIG = "../../releasetools/w3mmee_config" - -GZIP=gzip -GZIPFLAGS= - -.PHONY : clean - -RSTYLE=../docsrc/reference.xsl -VPATH=../docsrc - -DIRS=common refentry lib html fo manpages wordml slides website template pi - -all: html reference.txt.gz - -html: base copyright.html warranty.html reference.html index.html - -base: docsrc - for i in $(DIRS) __bogus__; do \ - if [ $$i != __bogus__ ] ; then \ - echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \ - fi \ - done - -docsrc: - $(MAKE) -C ../docsrc - -copyright.html: copyright.xml $(RSTYLE) - $(XJPARSE) $(VPATH)/$< - $(XSLT) $(PROCOPT) $< $(RSTYLE) $@ $(XSLTOPT) - -warranty.html: warranty.xml $(RSTYLE) - $(XJPARSE) $(VPATH)/$< - $(XSLT) $(PROCOPT) $< $(RSTYLE) $@ $(XSLTOPT) - -reference.html: reference.xml $(RSTYLE) - $(XJPARSE) $(VPATH)/$< - $(XSLT) $(PROCOPT) $< $(RSTYLE) $@ $(XSLTOPT) - -index.html: reference.html - cp -pR $< $@ - -reference.pdf: ../docsrc/reference.dbk docsrc $(REFERENCE_MAKEFILE) - $(MAKE) -f $(REFERENCE_MAKEFILE) ../docsrc/reference.pdf PDF_MAKER=$(PDF_MAKER) DOCBOOK_FILE_EXTENSION=$(DOCBOOK_FILE_EXTENSION) FO_PARAMS=$(FO_PARAMS) \ - && mv ../docsrc/reference.pdf . - -reference.txt: ../docsrc/reference.dbk docsrc $(REFERENCE_MAKEFILE) - $(MAKE) -f $(REFERENCE_MAKEFILE) ../docsrc/reference.txt TXT_MAKER=$(TXT_MAKER) TXT_MAKER_FLAGS=$(TXT_MAKER_FLAGS) DOCBOOK_FILE_EXTENSION=$(DOCBOOK_FILE_EXTENSION) HTML_PARAMS=$(HTML_PARAMS) \ - && mv ../docsrc/reference.txt . && $(RM) ../docsrc/reference.html - -reference.pdf.gz: reference.pdf - cat $< | $(GZIP) $(GZIPFLAGS) > $@ - -reference.txt.gz: reference.txt - cat $< | $(GZIP) $(GZIPFLAGS) > $@ - -clean: - $(RM) *.html - for i in $(DIRS) __bogus__; do \ - if [ $$i != __bogus__ ] ; then \ - echo "$(MAKE) -C $$i clean"; $(MAKE) -C $$i clean; \ - fi \ - done - $(RM) reference.pdf - $(RM) reference.txt - $(RM) reference.pdf.gz - $(RM) reference.txt.gz +include ../../../releasetools/Variables.mk +VPATH=../../docsrc/refentry +HTMLFILES = refentry.html +include ../Makefile.incl Added: trunk/xsl/doc/Makefile.incl =================================================================== --- trunk/xsl/doc/Makefile.incl (rev 0) +++ trunk/xsl/doc/Makefile.incl 2006-09-03 17:12:45 UTC (rev 6250) @@ -0,0 +1,14 @@ +# Makefile.incl gets included by makefiles in all subdirs + +all: $(HTMLFILES) + +%.html : %.xml $(JREFHTML) + $(XSLT) $< $(JREFHTML) $@ $(XSLTOPT) + +param.html: docparam.xml + $(XSLT) $< ../../docsrc/clrefentry.xsl $(XSLTOPT) + touch param.html + +clean: + $(RM) $(HTMLFILES) + $(RM) *.html Property changes on: trunk/xsl/doc/Makefile.incl ___________________________________________________________________ Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Modified: trunk/xsl/doc/common/Makefile =================================================================== --- trunk/xsl/doc/common/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/common/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,15 +1,4 @@ -include ../../../cvstools/Makefile.incl - -STYLE=../../docsrc/jrefhtml.xsl +include ../../../releasetools/Variables.mk VPATH=../../docsrc/common -XSLTOPT= - HTMLFILES = common.html - -all: $(HTMLFILES) - -%.html : %.xml $(STYLE) - $(XSLT) $< $(STYLE) $@ $(XSLTOPT) - -clean: - rm -f $(HTMLFILES) +include ../Makefile.incl Modified: trunk/xsl/doc/fo/Makefile =================================================================== --- trunk/xsl/doc/fo/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/fo/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -STYLE=../../docsrc/jrefhtml.xsl +include ../../../releasetools/Variables.mk VPATH=../../docsrc/fo -XSLTOPT= - HTMLFILES = param.html table.html - -all: $(HTMLFILES) - -%.html : %.xml $(STYLE) - $(XSLT) $< $(STYLE) $@ $(XSLTOPT) - -param.html: docparam.xml - $(XSLT) $< ../../docsrc/clrefentry.xsl $(XSLTOPT) - touch param.html - -clean: - $(RM) $(HTMLFILES) +include ../Makefile.incl Modified: trunk/xsl/doc/html/Makefile =================================================================== --- trunk/xsl/doc/html/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/html/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -STYLE=../../docsrc/jrefhtml.xsl +include ../../../releasetools/Variables.mk VPATH=../../docsrc/html -XSLTOPT= - HTMLFILES = param.html - -all: $(HTMLFILES) - -%.html : %.xml $(STYLE) - $(XSLT) $< $(STYLE) $@ $(XSLTOPT) - -param.html: docparam.xml - $(XSLT) $< ../../docsrc/clrefentry.xsl $(XSLTOPT) - touch param.html - -clean: - $(RM) $(HTMLFILES) +include ../Makefile.incl Modified: trunk/xsl/doc/lib/Makefile =================================================================== --- trunk/xsl/doc/lib/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/lib/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,15 +1,4 @@ -include ../../../cvstools/Makefile.incl - -STYLE=../../docsrc/lrefentry.xsl +include ../../../releasetools/Variables.mk VPATH=../../lib -XSLTOPT= - HTMLFILES = lib.html - -all: $(HTMLFILES) - -%.html : %.xml $(STYLE) - $(XSLT) $< $(STYLE) $@ $(XSLTOPT) - -clean: - rm -f $(HTMLFILES) +include ../Makefile.incl Modified: trunk/xsl/doc/manpages/Makefile =================================================================== --- trunk/xsl/doc/manpages/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/manpages/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -STYLE=../../docsrc/jrefhtml.xsl +include ../../../releasetools/Variables.mk VPATH=../../docsrc/manpages -XSLTOPT= - HTMLFILES = param.html - -all: $(HTMLFILES) - -%.html : %.xml $(STYLE) - $(XSLT) $< $(STYLE) $@ $(XSLTOPT) - -param.html: docparam.xml - $(XSLT) $< ../../docsrc/clrefentry.xsl $(XSLTOPT) - touch param.html - -clean: - rm -f *.html +include ../Makefile.incl Modified: trunk/xsl/doc/pi/Makefile =================================================================== --- trunk/xsl/doc/pi/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/pi/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,8 @@ -include ../../../cvstools/Makefile.incl - -STYLE=../../docsrc/jrefhtml.xsl +include ../../../releasetools/Variables.mk VPATH=../../docsrc/pi -XSLTOPT= - HTMLFILES = pi.html +include ../Makefile.incl -all: $(HTMLFILES) - -%.html : %.xml $(STYLE) - $(XSLT) $< $(STYLE) $@ $(XSLTOPT) - pi.html: pi.xml $(XSLT) $< ../../docsrc/pirefentry.xsl $(XSLTOPT) touch pi.html - -clean: - rm -f *.html Modified: trunk/xsl/doc/slides/Makefile =================================================================== --- trunk/xsl/doc/slides/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/slides/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -STYLE=../../docsrc/jrefhtml.xsl +include ../../../releasetools/Variables.mk VPATH=../../docsrc/slides/ -XSLTOPT= - HTMLFILES = param.html - -all: $(HTMLFILES) - -%.html : %.xml $(STYLE) - $(XSLT) $< $(STYLE) $@ $(XSLTOPT) - -param.html: docparam.xml - $(XSLT) $< ../../docsrc/clrefentry.xsl $(XSLTOPT) - touch param.html - -clean: - $(RM) $(HTMLFILES) +include ../Makefile.incl Modified: trunk/xsl/doc/template/Makefile =================================================================== --- trunk/xsl/doc/template/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/template/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,15 +1,4 @@ -include ../../../cvstools/Makefile.incl - -STYLE=../../docsrc/jrefhtml.xsl +include ../../../releasetools/Variables.mk VPATH=../../docsrc/template -XSLTOPT= - HTMLFILES = titlepage.html - -all: $(HTMLFILES) - -%.html : %.xml $(STYLE) - $(XSLT) $< $(STYLE) $@ $(XSLTOPT) - -clean: - rm -f $(HTMLFILES) +include ../Makefile.incl Modified: trunk/xsl/doc/website/Makefile =================================================================== --- trunk/xsl/doc/website/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/website/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -STYLE=../../docsrc/jrefhtml.xsl +include ../../../releasetools/Variables.mk VPATH=../../docsrc/website -XSLTOPT= - HTMLFILES = param.html - -all: $(HTMLFILES) - -%.html : %.xml $(STYLE) - $(XSLT) $< $(STYLE) $@ $(XSLTOPT) - -param.html: docparam.xml - $(XSLT) $< ../../docsrc/clrefentry.xsl $(XSLTOPT) - touch param.html - -clean: - $(RM) $(HTMLFILES) +include ../Makefile.incl Modified: trunk/xsl/doc/wordml/Makefile =================================================================== --- trunk/xsl/doc/wordml/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/doc/wordml/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -STYLE=../../docsrc/jrefhtml.xsl +include ../../../releasetools/Variables.mk VPATH=../../docsrc/wordml -XSLTOPT= - HTMLFILES = param.html - -all: $(HTMLFILES) - -%.html : %.xml $(STYLE) - $(XSLT) $< $(STYLE) $@ $(XSLTOPT) - -param.html: docparam.xml - $(XSLT) $< ../../docsrc/clrefentry.xsl $(XSLTOPT) - touch param.html - -clean: - rm -f *.html +include ../Makefile.incl Modified: trunk/xsl/docsrc/Makefile =================================================================== --- trunk/xsl/docsrc/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,5 +1,5 @@ include ../../cvstools/Makefile.incl -DIRS=common refentry html fo manpages wordml slides website template pi +DIRS=common refentry html fo manpages wordml slides website template DOCBOOK5_RNG=../../docbook/relaxng/docbook/docbook.rng PARAM_XSL_FILES=$(shell for file in $$(find . -name "param.xsl"); do \ @@ -23,10 +23,6 @@ echo "$(MAKE) -C $$i clean"; $(MAKE) -C $$i clean; \ fi \ done - $(RM) reference.txt - $(RM) reference.html - $(RM) reference.fo - $(RM) reference.pdf $(DOCBOOK5_RNG): $(MAKE) -C $(dir $@) $(notdir $@) Added: trunk/xsl/docsrc/Makefile.incl =================================================================== --- trunk/xsl/docsrc/Makefile.incl (rev 0) +++ trunk/xsl/docsrc/Makefile.incl 2006-09-03 17:12:45 UTC (rev 6250) @@ -0,0 +1,15 @@ +all: $(XMLFILES) + +clean: + $(RM) $(XMLFILES) + +%.refsect1.xml: %.xml $(JREF2REFSECT1) + $(XSLT) $< $(JREF2REFSECT1) $@ + +%.xml : %.xsl $(XSL2JREF) ../../docsrc/legalnotice.xml + $(XSLT) $< $(XSL2JREF) /dev/null output-file=$@ + $(XJPARSE) $@ + +docparam.xml: $(VPATH)/param.xsl + $(MAKE) -C $(VPATH) param.xml + cp $(VPATH)/param.xml docparam.xml Property changes on: trunk/xsl/docsrc/Makefile.incl ___________________________________________________________________ Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Modified: trunk/xsl/docsrc/common/Makefile =================================================================== --- trunk/xsl/docsrc/common/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/common/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,20 +1,4 @@ -XSLT=../../../cvstools/saxon -XJPARSE=../../../cvstools/xjparse - -JSTYLE=../../docsrc/xsl2jref.xsl -TOREFSECT1=../../docsrc/torefsect1.xsl +include ../../../releasetools/Variables.mk VPATH=../../common - XMLFILES = common.xml common.refsect1.xml - -all: $(XMLFILES) - -clean: - rm -f $(XMLFILES) - -%.refsect1.xml: %.xml $(TOREFSECT1) - $(XSLT) $< $(TOREFSECT1) $@ - -%.xml : %.xsl $(JSTYLE) ../../docsrc/legalnotice.xml - $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ - $(XJPARSE) $@ +include ../Makefile.incl Modified: trunk/xsl/docsrc/fo/Makefile =================================================================== --- trunk/xsl/docsrc/fo/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/fo/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,23 +1,4 @@ -include ../../../cvstools/Makefile.incl - -JSTYLE=../../docsrc/xsl2jref.xsl -TOREFSECT1=../../docsrc/torefsect1.xsl +include ../../../releasetools/Variables.mk VPATH=../../fo - XMLFILES = docparam.xml table.xml table.refsect1.xml - -all: $(XMLFILES) - -clean: - $(RM) $(XMLFILES) - -%.refsect1.xml: %.xml $(TOREFSECT1) - $(XSLT) $< $(TOREFSECT1) $@ - -%.xml : %.xsl $(JSTYLE) - $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ - $(XJPARSE) $@ - -docparam.xml: ../../fo/param.xsl - $(MAKE) -C ../../fo param.xml - cp ../../fo/param.xml docparam.xml +include ../Makefile.incl Modified: trunk/xsl/docsrc/html/Makefile =================================================================== --- trunk/xsl/docsrc/html/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/html/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -JSTYLE=../../docsrc/xsl2jref.xsl +include ../../../releasetools/Variables.mk VPATH=../../html - XMLFILES = docparam.xml - -all: $(XMLFILES) - -clean: - $(RM) $(XMLFILES) - -%.xml : %.xsl $(JSTYLE) - $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ - $(XJPARSE) $@ - -docparam.xml: ../../html/param.xsl - $(MAKE) -C ../../html param.xml - cp ../../html/param.xml docparam.xml +include ../Makefile.incl Copied: trunk/xsl/docsrc/jref2refsect1.xsl (from rev 6240, trunk/xsl/docsrc/torefsect1.xsl) =================================================================== --- trunk/xsl/docsrc/jref2refsect1.xsl (rev 0) +++ trunk/xsl/docsrc/jref2refsect1.xsl 2006-09-03 17:12:45 UTC (rev 6250) @@ -0,0 +1,97 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" + exclude-result-prefixes="xsl xi src" + version='1.0'> + +<xsl:output method="xml" indent="no"/> + + +<!-- ******************************************************************** + $Id$ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://nwalsh.com/docbook/xsl/ for copyright + and other information. + + ******************************************************************** --> + +<xsl:template match="node() | @*"> + <xsl:copy> + <xsl:apply-templates select="@* | node()"/> + </xsl:copy> +</xsl:template> + +<xsl:template match="refdescription"> + <refsect1> + <title></title> + <xsl:apply-templates/> + </refsect1> +</xsl:template> + +<xsl:template match="refauthor"> + <refsect1> + <title>Author</title> + <xsl:apply-templates/> + </refsect1> +</xsl:template> + +<xsl:template match="refversion"> + <refsect1> + <title>Version</title> + <xsl:apply-templates/> + </refsect1> +</xsl:template> + +<xsl:template match="refparameter"> + <refsect1> + <title>Parameters</title> + <xsl:apply-templates/> + </refsect1> +</xsl:template> + +<xsl:template match="refreturn"> + <refsect1> + <title>Returns</title> + <xsl:apply-templates/> + </refsect1> +</xsl:template> + +<xsl:template match="refexception|refthrows"> + <refsect1> + <title>Exceptions</title> + <xsl:apply-templates/> + </refsect1> +</xsl:template> + +<xsl:template match="refsee"> + <refsect1> + <title>See</title> + <xsl:apply-templates/> + </refsect1> +</xsl:template> + +<xsl:template match="refsince"> + <refsect1> + <title>Since</title> + <xsl:apply-templates/> + </refsect1> +</xsl:template> + +<xsl:template match="refserial"> + <refsect1> + <title>Serial</title> + <xsl:apply-templates/> + </refsect1> +</xsl:template> + +<xsl:template match="refdeprecated"> + <refsect1> + <title>Deprecated</title> + <xsl:apply-templates/> + </refsect1> +</xsl:template> + +</xsl:stylesheet> Modified: trunk/xsl/docsrc/manpages/Makefile =================================================================== --- trunk/xsl/docsrc/manpages/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/manpages/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -JSTYLE=../../docsrc/xsl2jref.xsl +include ../../../releasetools/Variables.mk VPATH=../../manpages - XMLFILES = docparam.xml - -all: $(XMLFILES) - -clean: - rm -f $(XMLFILES) - -%.xml : %.xsl $(JSTYLE) - $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ - $(XJPARSE) $@ - -docparam.xml: ../../manpages/param.xsl - $(MAKE) -C ../../manpages param.xml - cp ../../manpages/param.xml docparam.xml +include ../Makefile.incl Deleted: trunk/xsl/docsrc/pi/Makefile =================================================================== --- trunk/xsl/docsrc/pi/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/pi/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,16 +0,0 @@ -XSLT=../../../cvstools/saxon -XJPARSE=../../../cvstools/xjparse - -JSTYLE=../../docsrc/xsl2jref.xsl -VPATH=../../pi - -XMLFILES = pi.xml - -all: $(XMLFILES) - -clean: - -echo nop - -%.xml : %.xsl $(JSTYLE) ../../docsrc/legalnotice.xml - $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ - $(XJPARSE) $@ Modified: trunk/xsl/docsrc/refentry/Makefile =================================================================== --- trunk/xsl/docsrc/refentry/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/refentry/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -XSLT=../../../cvstools/saxon -XJPARSE=../../../cvstools/xjparse - -JSTYLE=../../docsrc/xsl2jref.xsl -TOREFSECT1=../../docsrc/torefsect1.xsl +include ../../../releasetools/Variables.mk VPATH=../../common - XMLFILES = refentry.xml refentry.refsect1.xml - -all: $(XMLFILES) - -clean: - rm -f $(XMLFILES) - -%.refsect1.xml: %.xml $(TOREFSECT1) - $(XSLT) $< $(TOREFSECT1) $@ - -%.xml : %.xsl $(JSTYLE) ../../docsrc/legalnotice.xml - $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ +include ../Makefile.incl Modified: trunk/xsl/docsrc/reference.dbk =================================================================== --- trunk/xsl/docsrc/reference.dbk 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/reference.dbk 2006-09-03 17:12:45 UTC (rev 6250) @@ -14,7 +14,7 @@ <xi:include href="./legalnotice.xml"/> <xi:include href="./warranty.xml"/> </bookinfo> - + <preface id="about"> <xi:include href="./reference.xml" xpointer="xpointer(/book/preface/node()[not(self::itemizedlist)])"/> <itemizedlist> Modified: trunk/xsl/docsrc/slides/Makefile =================================================================== --- trunk/xsl/docsrc/slides/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/slides/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -JSTYLE=../../docsrc/xsl2jref.xsl +include ../../../releasetools/Variables.mk VPATH=../../../slides/xsl - XMLFILES = docparam.xml - -all: $(XMLFILES) - -clean: - $(RM) $(XMLFILES) - -%.xml : %.xsl $(JSTYLE) - $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ - $(XJPARSE) $@ - -docparam.xml: ../../../slides/xsl/param.xsl - $(MAKE) -C ../../../slides/xsl param.xml - cp ../../../slides/xsl/param.xml docparam.xml +include ../Makefile.incl Modified: trunk/xsl/docsrc/template/Makefile =================================================================== --- trunk/xsl/docsrc/template/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/template/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,20 +1,4 @@ -XSLT=../../../cvstools/saxon -XJPARSE=../../../cvstools/xjparse - -JSTYLE=../../docsrc/xsl2jref.xsl -TOREFSECT1=../../docsrc/torefsect1.xsl +include ../../../releasetools/Variables.mk VPATH=../../template - XMLFILES = titlepage.xml titlepage.refsect1.xml - -all: $(XMLFILES) - -clean: - rm -f $(XMLFILES) - -%.refsect1.xml: %.xml $(TOREFSECT1) - $(XSLT) $< $(TOREFSECT1) $@ - -%.xml : %.xsl $(JSTYLE) - $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ - $(XJPARSE) $@ +include ../Makefile.incl Deleted: trunk/xsl/docsrc/torefsect1.xsl =================================================================== --- trunk/xsl/docsrc/torefsect1.xsl 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/torefsect1.xsl 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,97 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:xi="http://www.w3.org/2001/XInclude" - xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" - exclude-result-prefixes="xsl xi src" - version='1.0'> - -<xsl:output method="xml" indent="no"/> - - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template match="node() | @*"> - <xsl:copy> - <xsl:apply-templates select="@* | node()"/> - </xsl:copy> -</xsl:template> - -<xsl:template match="refdescription"> - <refsect1> - <title></title> - <xsl:apply-templates/> - </refsect1> -</xsl:template> - -<xsl:template match="refauthor"> - <refsect1> - <title>Author</title> - <xsl:apply-templates/> - </refsect1> -</xsl:template> - -<xsl:template match="refversion"> - <refsect1> - <title>Version</title> - <xsl:apply-templates/> - </refsect1> -</xsl:template> - -<xsl:template match="refparameter"> - <refsect1> - <title>Parameters</title> - <xsl:apply-templates/> - </refsect1> -</xsl:template> - -<xsl:template match="refreturn"> - <refsect1> - <title>Returns</title> - <xsl:apply-templates/> - </refsect1> -</xsl:template> - -<xsl:template match="refexception|refthrows"> - <refsect1> - <title>Exceptions</title> - <xsl:apply-templates/> - </refsect1> -</xsl:template> - -<xsl:template match="refsee"> - <refsect1> - <title>See</title> - <xsl:apply-templates/> - </refsect1> -</xsl:template> - -<xsl:template match="refsince"> - <refsect1> - <title>Since</title> - <xsl:apply-templates/> - </refsect1> -</xsl:template> - -<xsl:template match="refserial"> - <refsect1> - <title>Serial</title> - <xsl:apply-templates/> - </refsect1> -</xsl:template> - -<xsl:template match="refdeprecated"> - <refsect1> - <title>Deprecated</title> - <xsl:apply-templates/> - </refsect1> -</xsl:template> - -</xsl:stylesheet> Modified: trunk/xsl/docsrc/website/Makefile =================================================================== --- trunk/xsl/docsrc/website/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/website/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -JSTYLE=../../docsrc/xsl2jref.xsl +include ../../../releasetools/Variables.mk VPATH=../../../website/xsl - XMLFILES = docparam.xml - -all: $(XMLFILES) - -clean: - $(RM) $(XMLFILES) - -%.xml : %.xsl $(JSTYLE) - $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ - $(XJPARSE) $@ - -docparam.xml: ../../../website/xsl/param.xsl - $(MAKE) -C ../../../website/xsl param.xml - cp ../../../website/xsl/param.xml docparam.xml +include ../Makefile.incl Modified: trunk/xsl/docsrc/wordml/Makefile =================================================================== --- trunk/xsl/docsrc/wordml/Makefile 2006-09-03 16:26:11 UTC (rev 6249) +++ trunk/xsl/docsrc/wordml/Makefile 2006-09-03 17:12:45 UTC (rev 6250) @@ -1,19 +1,4 @@ -include ../../../cvstools/Makefile.incl - -JSTYLE=../../docsrc/xsl2jref.xsl +include ../../../releasetools/Variables.mk VPATH=../../wordml - XMLFILES = docparam.xml - -all: $(XMLFILES) - -clean: - rm -f $(XMLFILES) - -%.xml : %.xsl $(JSTYLE) - $(XSLT) $< $(JSTYLE) /dev/null output-file=$@ - $(XJPARSE) $@ - -docparam.xml: ../../wordml/param.xsl - $(MAKE) -C ../../wordml param.xml - cp ../../wordml/param.xml docparam.xml +include ../Makefile.incl This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |