22#
33# PostgreSQL documentation makefile
44#
5- # $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.81 2006/12/02 01:26:19 petere Exp $
5+ # $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.82 2006/12/10 01:53:15 petere Exp $
66#
77# ----------------------------------------------------------------------------
88
@@ -225,6 +225,7 @@ testxml: stylesheet.xsl postgres.xml
225225htmlhelp : stylesheet-hh.xsl postgres.xml
226226$(XSLTPROC ) $(XSLTPROCFLAGS ) --stringparam pg.version' $(VERSION)' $^
227227
228+
228229# #
229230# # Experimental Texinfo targets
230231# #
@@ -233,16 +234,18 @@ DB2X_TEXIXML = db2x_texixml
233234DB2X_XSLTPROC = db2x_xsltproc
234235MAKEINFO = makeinfo
235236
236- postgres .texixml :postgres .xml
237+ % .texixml :% .xml
237238$(DB2X_XSLTPROC ) -s texi -g output-file=$(basename $@ ) $< -o$@
238239
239- postgres.texi : postgres.texixml
240- $(DB2X_TEXIXML ) --encoding=iso-8859-1//TRANSLIT$< \
241- --to-stdout> $@
240+ % .texi :% .texixml
241+ $(DB2X_TEXIXML ) --encoding=iso-8859-1//TRANSLIT$< --to-stdout> $@
242+
243+ % .info :% .texi
244+ $(MAKEINFO ) --enable-encoding --no-split --no-validate$< -o$@
245+
246+ # Cancel built-in suffix rules, interfering with PS building
247+ .SUFFIXES :
242248
243- postgres.info : postgres.texi
244- $(MAKEINFO ) --enable-encoding --no-split\
245- --no-validate$< -o$@
246249
247250# #
248251# # Check