summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAlvaro Herrera2009-08-11 20:16:03 +0000
committerAlvaro Herrera2009-08-11 20:16:03 +0000
commit61c4513cc982c59dfc9c95550b4b23eb3b01e2c9 (patch)
tree61b66c89a86ec0c5e2a9ce0a4e2e9c0f2d18ab22 /doc/src
parent6f4487801888ceb6b3d742783df25507247d2642 (diff)
Refactor some $(JADE.tex.call)s
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index 0c5f300012e..ea68a5bc434 100644
--- a/doc/src/sgml/Makefile
+++ b/doc/src/sgml/Makefile
@@ -2,7 +2,7 @@
#
# PostgreSQL documentation makefile
#
-# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.122 2009/08/09 22:47:59 petere Exp $
+# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.123 2009/08/11 20:16:03 alvherre Exp $
#
#----------------------------------------------------------------------------
@@ -146,17 +146,13 @@ $(srcdir)/features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_featu
JADE.tex.call = $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d $(srcdir)/stylesheet.dsl -t tex -V tex-backend -i output-print -i include-index
-%-A4.tex-ps: %.sgml $(ALLSGML) html
- $(JADE.tex.call) -V texdvi-output -V '%paper-type%'=A4 -o $@ $<
+%-A4.tex-ps %-US.tex-ps : JADE_OUTPUT=texdvi-output
+%-A4.tex-pdf %-US.tex-pdf : JADE_OUTPUT=texpdf-output
+%-A4.tex-ps %-A4.tex-pdf : JADE_PAPER=A4
+%-US.tex-ps %-US.tex-pdf : JADE_PAPER=USletter
-%-US.tex-ps: %.sgml $(ALLSGML) html
- $(JADE.tex.call) -V texdvi-output -V '%paper-type%'=USletter -o $@ $<
-
-%-A4.tex-pdf: %.sgml $(ALLSGML) html
- $(JADE.tex.call) -V texpdf-output -V '%paper-type%'=A4 -o $@ $<
-
-%-US.tex-pdf: %.sgml $(ALLSGML) html
- $(JADE.tex.call) -V texpdf-output -V '%paper-type%'=USletter -o $@ $<
+%-A4.tex-ps %-US.tex-ps %-A4.tex-pdf %-US.tex-pdf: %.sgml $(ALLSGML) html
+ $(JADE.tex.call) -V $(JADE_OUTPUT) -V '%paper-type%'=$(JADE_PAPER) -o $@ $<
%.dvi: %.tex-ps
@rm -f $*.aux $*.log