|
2 | 2 | # |
3 | 3 | # PostgreSQL documentation makefile |
4 | 4 | # |
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 $ |
6 | 6 | # |
7 | 7 | #---------------------------------------------------------------------------- |
8 | 8 |
|
@@ -146,17 +146,13 @@ $(srcdir)/features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_featu |
146 | 146 |
|
147 | 147 | JADE.tex.call =$(JADE)$(JADEFLAGS)$(SGMLINCLUDE)$(CATALOG) -d$(srcdir)/stylesheet.dsl -t tex -V tex-backend -i output-print -i include-index |
148 | 148 |
|
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 |
151 | 153 |
|
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$@$< |
160 | 156 |
|
161 | 157 | %.dvi:%.tex-ps |
162 | 158 | @rm -f$*.aux$*.log |
|