VPATH=../docsrc
-DIRS=common refentry lib html fo manpages wordml slides website template
+DIRS=common refentry lib html fo manpages wordml slides website template pi
# build reference.pdf.gz except for snapshot releases
ifneq (snapshot,$(findstring snapshot,$(RELVER)))
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) copyright.html
+ $(RM) index.html
+ $(RM) reference.html
+ $(RM) warranty.html
$(RM) reference.fo
$(RM) reference.pdf
$(RM) reference.txt
+ $(RM) reference.txt.html
$(RM) reference.pdf.gz
$(RM) reference.txt.gz
# Makefile.incl gets included by makefiles in all subdirs
+PARAMFILES = $(shell if [ -f $(VPATH)/docparam.xml ]; then $(XSLT) $(VPATH)/docparam.xml $(DOCPARAM2TXT); fi)
+
all: $(HTMLFILES)
%.html : %.xml $(JREFHTML)
$(XSLT) $< $(JREFHTML) $@ $(XSLTOPT)
-param.html: docparam.xml
+index.html: docparam.xml
$(XSLT) $< $(CLREFENTRY) $(XSLTOPT)
- touch param.html
clean:
$(RM) $(HTMLFILES)
- $(RM) *.html
+ifneq ($(PARAMFILES),)
+ $(RM) $(PARAMFILES)
+endif
include ../../../releasetools/Variables.mk
VPATH=../../docsrc/fo
-HTMLFILES = param.html table.html
+HTMLFILES = index.html table.html
include ../Makefile.incl
include ../../../releasetools/Variables.mk
VPATH=../../docsrc/html
-HTMLFILES = param.html
+HTMLFILES = index.html
include ../Makefile.incl
include ../../../releasetools/Variables.mk
VPATH=../../docsrc/manpages
-HTMLFILES = param.html
+HTMLFILES = index.html
include ../Makefile.incl
include ../../../releasetools/Variables.mk
VPATH=../../docsrc/pi
-HTMLFILES = pi.html
+HTMLFILES = common.html
include ../Makefile.incl
-pi.html: pi.xml
+common.html: pi.xml
$(XSLT) $< $(PIREFENTRY) $(XSLTOPT)
- touch $@
include ../../../releasetools/Variables.mk
VPATH=../../docsrc/slides/
-HTMLFILES = param.html
+HTMLFILES = index.html
include ../Makefile.incl
include ../../../releasetools/Variables.mk
VPATH=../../docsrc/website
-HTMLFILES = param.html
+HTMLFILES = index.html
include ../Makefile.incl
include ../../../releasetools/Variables.mk
VPATH=../../docsrc/wordml
-HTMLFILES = param.html
+HTMLFILES = index.html
include ../Makefile.incl
--- /dev/null
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'>
+
+<xsl:output method="text" indent="no"/>
+
+<!-- ********************************************************************
+ $Id$
+ ********************************************************************
+
+ This file is part of the XSL DocBook Stylesheet distribution.
+ See ../README or http://docbook.sf.net/release/xsl/current for
+ copyright and other information.
+
+ ******************************************************************** -->
+
+<xsl:template match="preface|reference|refentry|appendix">
+ <xsl:value-of select="concat(@id,'.html','
')"/>
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="text()"/>
+
+</xsl:stylesheet>