aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-12-15 01:21:08 +0000
committerBruce Momjian <bruce@momjian.us>2006-12-15 01:21:08 +0000
commit87047e4ca5edf8853693326b710596f4bf33e457 (patch)
tree09f646f30f8149afa63e9857fc080c5dbe25fd80 /doc/src
parent8867ffc519af2678a205a70ddbd119b69fb647f9 (diff)
downloadpostgresql-87047e4ca5edf8853693326b710596f4bf33e457.tar.gz
postgresql-87047e4ca5edf8853693326b710596f4bf33e457.zip
Run Jade twice when outputting Postscript and PDF so the index is
correct, add comments about other multiple runs in the Makefile. Backpatch to 8.2.X.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index 99167c339b9..95300bce1bf 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.81 2006/12/02 01:26:19 petere Exp $
+# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.81.2.1 2006/12/15 01:21:08 momjian Exp $
#
#----------------------------------------------------------------------------
@@ -134,13 +134,18 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
# need to distinguish the path we're taking.
%.tex-ps: %.sgml $(ALLSGML) stylesheet.dsl
+ # multiple runs are necessary to create proper index entries
+ $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -t tex -V tex-backend -i output-print -V texdvi-output -o $@ $<
$(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -t tex -V tex-backend -i output-print -V texdvi-output -o $@ $<
%.tex-pdf: %.sgml $(ALLSGML) stylesheet.dsl
+ # multiple runs are necessary to create proper index entries
+ $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -t tex -V tex-backend -i output-print -V texpdf-output -o $@ $<
$(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d stylesheet.dsl -t tex -V tex-backend -i output-print -V texpdf-output -o $@ $<
%.dvi: %.tex-ps
@rm -f $*.aux $*.log
+ # multiple runs are necessary to create proper index entries
jadetex $<
jadetex $<
jadetex $<
@@ -151,6 +156,7 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
%.pdf: %.tex-pdf
@rm -f $*.aux $*.log $*.out
+ # multiple runs are necessary to create proper index entries
pdfjadetex $<
pdfjadetex $<
pdfjadetex $<