aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2008-08-25 15:34:05 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2008-08-25 15:34:05 +0000
commit2bb4d09cac22d42ea57d42f7cd4958e2324396c4 (patch)
treeffa8093eb94330cf3cdc3a19ad426d85f2712d01
parentbe8d6c5c3477ba664c533cf0b93cdf4cd426b6e1 (diff)
downloadpostgresql-2bb4d09cac22d42ea57d42f7cd4958e2324396c4.tar.gz
postgresql-2bb4d09cac22d42ea57d42f7cd4958e2324396c4.zip
Have man page generation work on VPATH builds too.
-rw-r--r--doc/src/sgml/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index 8a4ce0da1fe..f5f276fbe98 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.106 2008/06/10 00:19:32 alvherre Exp $
+# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.107 2008/08/25 15:34:05 alvherre Exp $
#
#----------------------------------------------------------------------------
@@ -66,9 +66,9 @@ DEFAULTSECTION = $(sqlmansect_dummy)
fix_man_xrefs = $(PERL) -npi -e 's{\[XRef to GUC-([A-Z0-9-]*)\]}{($$l = $$1) =~ tr/A-Z-/a-z_/, $$l}ge || s{\[XRef to [A-Z0-9-]*\]}{in the documentation}g'
man: postgres.sgml $(ALLSGML)
- $(NSGMLS) $(NSGMLS_FLAGS) $< | $(SGMLSPL) $(D2MSCRIPT) --lowercase --section $(DEFAULTSECTION) --date "`date '+%Y-%m-%d'`"
+ $(NSGMLS) $(NSGMLS_FLAGS) $(SGMLINCLUDE) $< | $(SGMLSPL) $(D2MSCRIPT) --lowercase --section $(DEFAULTSECTION) --date "`date '+%Y-%m-%d'`"
# One more time, to resolve cross-references
- $(NSGMLS) $(NSGMLS_FLAGS) $< | $(SGMLSPL) $(D2MSCRIPT) --lowercase --section $(DEFAULTSECTION) --date "`date '+%Y-%m-%d'`"
+ $(NSGMLS) $(NSGMLS_FLAGS) $(SGMLINCLUDE) $< | $(SGMLSPL) $(D2MSCRIPT) --lowercase --section $(DEFAULTSECTION) --date "`date '+%Y-%m-%d'`"
$(fix_man_xrefs) *.1 *.$(DEFAULTSECTION)
$(mkinstalldirs) man1 man$(DEFAULTSECTION)
mv *.1 man1/