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)
258
258
rm postgres.xmltmp
259
259
# ' hello Emacs
260
260
261
+ ifeq ($(STYLE ) ,website)
262
+ XSLTPROC_HTML_FLAGS += --param website.stylesheet 1
263
+ endif
264
+
261
265
xslthtml : xslthtml-stamp
262
266
263
267
xslthtml-stamp : stylesheet.xsl postgres.xml
Original file line number Diff line number Diff line change 10
10
11
11
<!-- Parameters -->
12
12
<xsl : param name =" base.dir" select =" 'html/'" ></xsl : param >
13
- <xsl : param name =" html.stylesheet" select =" 'stylesheet.css'" ></xsl : param >
14
13
<xsl : param name =" use.id.as.filename" select =" '1'" ></xsl : param >
15
14
<xsl : param name =" make.valid.html" select =" 1" ></xsl : param >
16
15
<xsl : param name =" generate.id.attributes" select =" 1" ></xsl : param >
21
20
<xsl : param name =" chunk.quietly" select =" 1" ></xsl : param >
22
21
<xsl : param name =" toc.max.depth" >2</xsl : param >
23
22
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
+
24
32
25
33
<!-- Change display of some elements -->
26
34
You can’t perform that action at this time.
0 commit comments