mirror of https://github.com/postgres/postgres
doc: Move htmlhelp output to subdirectory
This makes it behave more like the html output. That will make some subsequent changes across all output formats easier.
This commit is contained in:
parent
2488ea7a90
commit
477422c9d1
|
@ -131,9 +131,13 @@ html-stamp: stylesheet.xsl postgres.sgml $(ALLSGML)
|
||||||
cp $(srcdir)/stylesheet.css html/
|
cp $(srcdir)/stylesheet.css html/
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
htmlhelp: stylesheet-hh.xsl postgres.sgml $(ALLSGML)
|
htmlhelp: htmlhelp-stamp
|
||||||
|
|
||||||
|
htmlhelp-stamp: stylesheet-hh.xsl postgres.sgml $(ALLSGML)
|
||||||
$(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^)
|
$(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^)
|
||||||
$(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(wordlist 1,2,$^)
|
$(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(wordlist 1,2,$^)
|
||||||
|
cp $(srcdir)/stylesheet.css htmlhelp/
|
||||||
|
touch $@
|
||||||
|
|
||||||
# single-page HTML
|
# single-page HTML
|
||||||
postgres.html: stylesheet-html-nochunk.xsl postgres.sgml $(ALLSGML)
|
postgres.html: stylesheet-html-nochunk.xsl postgres.sgml $(ALLSGML)
|
||||||
|
@ -284,7 +288,7 @@ clean:
|
||||||
# generated SGML files
|
# generated SGML files
|
||||||
rm -f $(GENERATED_SGML)
|
rm -f $(GENERATED_SGML)
|
||||||
# HTML Help
|
# HTML Help
|
||||||
rm -f htmlhelp.hhp toc.hhc index.hhk
|
rm -rf htmlhelp/ htmlhelp-stamp
|
||||||
# EPUB
|
# EPUB
|
||||||
rm -f postgres.epub
|
rm -f postgres.epub
|
||||||
# Texinfo
|
# Texinfo
|
||||||
|
|
|
@ -10,8 +10,10 @@
|
||||||
<!-- Parameters -->
|
<!-- Parameters -->
|
||||||
<xsl:param name="htmlhelp.use.hhk" select="'1'"/>
|
<xsl:param name="htmlhelp.use.hhk" select="'1'"/>
|
||||||
|
|
||||||
|
<xsl:param name="base.dir" select="'htmlhelp/'"></xsl:param>
|
||||||
<xsl:param name="html.stylesheet" select="'stylesheet.css'"></xsl:param>
|
<xsl:param name="html.stylesheet" select="'stylesheet.css'"></xsl:param>
|
||||||
<xsl:param name="use.id.as.filename" select="'1'"></xsl:param>
|
<xsl:param name="use.id.as.filename" select="'1'"></xsl:param>
|
||||||
|
<xsl:param name="manifest.in.base.dir" select="1"/>
|
||||||
<xsl:param name="make.valid.html" select="1"></xsl:param>
|
<xsl:param name="make.valid.html" select="1"></xsl:param>
|
||||||
<xsl:param name="generate.id.attributes" select="1"></xsl:param>
|
<xsl:param name="generate.id.attributes" select="1"></xsl:param>
|
||||||
<xsl:param name="generate.legalnotice.link" select="1"></xsl:param>
|
<xsl:param name="generate.legalnotice.link" select="1"></xsl:param>
|
||||||
|
|
Loading…
Reference in New Issue