Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90c7b7d

Browse files
committed
doc: Enable book index in XSLT builds
The XSLT toolchain requires an empty <index> element where the index issupposed to appear. Add that with conditionals to hide it from theDSSSL build.
1 parentf918c52 commit90c7b7d

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

‎doc/src/sgml/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ regress_README.html: regress.sgml
251251
# if we try to do "make all" in a VPATH build without the explicit
252252
# $(srcdir) on the postgres.sgml dependency in this rule. gmake bug?
253253
postgres.xml:$(srcdir)/postgres.sgml$(ALMOSTALLSGML)
254-
$(OSX) -D. -x lower$<>postgres.xmltmp
254+
$(OSX) -D. -x lower-i include-xslt-index$<>postgres.xmltmp
255255
$(PERL) -p -e's/\[(aacute|acirc|aelig|agrave|amp|aring|atilde|auml|bull|copy|eacute|egrave|gt|iacute|lt|mdash|nbsp|ntilde|oacute|ocirc|oslash|ouml|pi|quot|scaron|uuml) *\]/\&\1;/gi;'\
256256
-e'$$_ .= qq{<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">\n} if $$. == 1;'\
257257
<postgres.xmltmp>$@

‎doc/src/sgml/filelist.sgml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,8 @@
196196
to include it.
197197
-->
198198
<!ENTITY % include-index "IGNORE">
199+
200+
<!--
201+
Create empty index element for processing by XSLT stylesheet.
202+
-->
203+
<!ENTITY % include-xslt-index "IGNORE">

‎doc/src/sgml/postgres.sgml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,5 +270,6 @@
270270

271271
&biblio;
272272
<![%include-index;[&bookindex;]]>
273+
<![%include-xslt-index;[<index></index>]]>
273274

274275
</book>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp