Skip to content

Commit 61c4513

Browse files
committed
Refactor some $(JADE.tex.call)s
1 parent 6f44878 commit 61c4513

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

doc/src/sgml/Makefile

Lines changed: 7 additions & 11 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.122 2009/08/09 22:47:59 petere Exp $
5+
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.123 2009/08/11 20:16:03 alvherre Exp $
66
#
77
#----------------------------------------------------------------------------
88

@@ -146,17 +146,13 @@ $(srcdir)/features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_featu
146146

147147
JADE.tex.call = $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d $(srcdir)/stylesheet.dsl -t tex -V tex-backend -i output-print -i include-index
148148

149-
%-A4.tex-ps: %.sgml $(ALLSGML) html
150-
$(JADE.tex.call) -V texdvi-output -V '%paper-type%'=A4 -o $@ $<
149+
%-A4.tex-ps %-US.tex-ps : JADE_OUTPUT=texdvi-output
150+
%-A4.tex-pdf %-US.tex-pdf : JADE_OUTPUT=texpdf-output
151+
%-A4.tex-ps %-A4.tex-pdf : JADE_PAPER=A4
152+
%-US.tex-ps %-US.tex-pdf : JADE_PAPER=USletter
151153

152-
%-US.tex-ps: %.sgml $(ALLSGML) html
153-
$(JADE.tex.call) -V texdvi-output -V '%paper-type%'=USletter -o $@ $<
154-
155-
%-A4.tex-pdf: %.sgml $(ALLSGML) html
156-
$(JADE.tex.call) -V texpdf-output -V '%paper-type%'=A4 -o $@ $<
157-
158-
%-US.tex-pdf: %.sgml $(ALLSGML) html
159-
$(JADE.tex.call) -V texpdf-output -V '%paper-type%'=USletter -o $@ $<
154+
%-A4.tex-ps %-US.tex-ps %-A4.tex-pdf %-US.tex-pdf: %.sgml $(ALLSGML) html
155+
$(JADE.tex.call) -V $(JADE_OUTPUT) -V '%paper-type%'=$(JADE_PAPER) -o $@ $<
160156

161157
%.dvi: %.tex-ps
162158
@rm -f $*.aux $*.log

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