diff options
author | Peter Eisentraut | 2006-12-10 01:53:15 +0000 |
---|---|---|
committer | Peter Eisentraut | 2006-12-10 01:53:15 +0000 |
commit | 8d81e0c1506a84ae8b5357263a4a8d4f53cee460 (patch) | |
tree | e81aa7f7f79871b8ec93627a3f5bcabaca190259 | |
parent | 18dd08cbad3c5311653c86f600ad1ab1a8c87d3a (diff) |
Generalize Texinfo rules. Prevent them from overriding the PostScript
build rules.
-rw-r--r-- | doc/src/sgml/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index f340697def..8d2c334355 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -225,6 +225,7 @@ testxml: stylesheet.xsl postgres.xml htmlhelp: stylesheet-hh.xsl postgres.xml $(XSLTPROC) $(XSLTPROCFLAGS) --stringparam pg.version '$(VERSION)' $^ + ## ## Experimental Texinfo targets ## @@ -233,16 +234,18 @@ DB2X_TEXIXML = db2x_texixml 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 |