From 90c7b7d16bb3a90fc9168ff8942fbf78308e727d Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 15 Oct 2013 22:54:36 -0400 Subject: [PATCH] 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. --- doc/src/sgml/Makefile | 2 +- doc/src/sgml/filelist.sgml | 5 +++++ doc/src/sgml/postgres.sgml | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) 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; + ]]>