Skip to content

Commit c605441

Browse files
committed
Generalize Texinfo rules. Prevent them from overriding the PostScript
build rules.
1 parent 0cb91cc commit c605441

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

doc/src/sgml/Makefile

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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
225225
htmlhelp: 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
233234
DB2X_XSLTPROC = db2x_xsltproc
234235
MAKEINFO = 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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy