doc: Enable book index in XSLT builds
authorPeter Eisentraut
Wed, 16 Oct 2013 02:54:36 +0000 (22:54 -0400)
committerPeter Eisentraut
Wed, 16 Oct 2013 02:54:36 +0000 (22:54 -0400)
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
doc/src/sgml/filelist.sgml
doc/src/sgml/postgres.sgml

index 0ca6f58c6a05aec56e88134643a8745e80478b10..23c226a4b4a60e1f277d6e9500b35ff33b3a52be 100644 (file)
@@ -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;' \
       $@
index 914090d102a0e7dcacd7e1dd254906c52b979372..d1b7dc67811047e0cdc650ea1ac1d97f10cb6f5f 100644 (file)
  to include it.
  -->
 
+
+
+
index 15e4ef641e7fb81d4031a91b8d82cd02048333c6..522316c28e1a5960a70c98ef3e79d5a386779a2d 100644 (file)
 
  &biblio;
  
]]>