#
# PostgreSQL documentation makefile
#
-# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.81 2006/12/02 01:26:19 petere Exp $
+# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.82 2006/12/10 01:53:15 petere Exp $
#
#----------------------------------------------------------------------------
htmlhelp: stylesheet-hh.xsl postgres.xml
$(XSLTPROC) $(XSLTPROCFLAGS) --stringparam pg.version '$(VERSION)' $^
+
##
## Experimental Texinfo targets
##
DB2X_XSLTPROC = db2x_xsltproc
MAKEINFO = makeinfo
-postgres.texixml: postgres.xml
+%.texixml: %.xml
$(DB2X_XSLTPROC) -s texi -g output-file=$(basename $@) $< -o $@
-postgres.texi: postgres.texixml
- $(DB2X_TEXIXML) --encoding=iso-8859-1//TRANSLIT $< \
- --to-stdout > $@
+%.texi: %.texixml
+ $(DB2X_TEXIXML) --encoding=iso-8859-1//TRANSLIT $< --to-stdout >$@
+
+%.info: %.texi
+ $(MAKEINFO) --enable-encoding --no-split --no-validate $< -o $@
+
+# Cancel built-in suffix rules, interfering with PS building
+.SUFFIXES:
-postgres.info: postgres.texi
- $(MAKEINFO) --enable-encoding --no-split \
- --no-validate $< -o $@
##
## Check