From: Peter Eisentraut Date: Wed, 16 Oct 2013 02:54:36 +0000 (-0400) Subject: doc: Enable book index in XSLT builds X-Git-Tag: REL9_4_BETA1~1050 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90c7b7d16bb3a90fc9168ff8942fbf78308e727d;p=postgresql doc: Enable book index in XSLT builds The XSLT toolchain requires an empty element where the index is supposed to appear. Add that with conditionals to hide it from the DSSSL build. --- diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 0ca6f58c6a..23c226a4b4 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -251,7 +251,7 @@ regress_README.html: regress.sgml # if we try to do "make all" in a VPATH build without the explicit # $(srcdir) on the postgres.sgml dependency in this rule. gmake bug? postgres.xml: $(srcdir)/postgres.sgml $(ALMOSTALLSGML) - $(OSX) -D. -x lower $< >postgres.xmltmp + $(OSX) -D. -x lower -i include-xslt-index $< >postgres.xmltmp $(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;' \ -e '$$_ .= qq{\n} if $$. == 1;' \ $@ diff --git a/doc/src/sgml/filelist.sgml b/doc/src/sgml/filelist.sgml index 914090d102..d1b7dc6781 100644 --- a/doc/src/sgml/filelist.sgml +++ b/doc/src/sgml/filelist.sgml @@ -196,3 +196,8 @@ to include it. --> + + + diff --git a/doc/src/sgml/postgres.sgml b/doc/src/sgml/postgres.sgml index 15e4ef641e..522316c28e 100644 --- a/doc/src/sgml/postgres.sgml +++ b/doc/src/sgml/postgres.sgml @@ -270,5 +270,6 @@ &biblio; + ]]>