File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,10 @@ postgres.xml: $(srcdir)/postgres.sgml $(ALMOSTALLSGML)
258258 rm postgres.xmltmp
259259# ' hello Emacs
260260
261+ ifeq ($(STYLE ) ,website)
262+ XSLTPROC_HTML_FLAGS += --param website.stylesheet 1
263+ endif
264+
261265xslthtml : xslthtml-stamp
262266
263267xslthtml-stamp : stylesheet.xsl postgres.xml
Original file line number Diff line number Diff line change 1010
1111<!-- Parameters -->
1212<xsl : param name =" base.dir" select =" 'html/'" ></xsl : param >
13- <xsl : param name =" html.stylesheet" select =" 'stylesheet.css'" ></xsl : param >
1413<xsl : param name =" use.id.as.filename" select =" '1'" ></xsl : param >
1514<xsl : param name =" make.valid.html" select =" 1" ></xsl : param >
1615<xsl : param name =" generate.id.attributes" select =" 1" ></xsl : param >
2120<xsl : param name =" chunk.quietly" select =" 1" ></xsl : param >
2221<xsl : param name =" toc.max.depth" >2</xsl : param >
2322
23+ <xsl : param name =" website.stylesheet" select =" 0" />
24+
25+ <xsl : param name =" html.stylesheet" >
26+ <xsl : choose >
27+ <xsl : when test =" $website.stylesheet = 0" >stylesheet.css</xsl : when >
28+ <xsl : otherwise >http://www.postgresql.org/media/css/docs.css</xsl : otherwise >
29+ </xsl : choose >
30+ </xsl : param >
31+
2432
2533<!-- Change display of some elements -->
2634
You can’t perform that action at this time.
0 commit comments