summaryrefslogtreecommitdiff
path: root/doc/src/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut2000-08-31 16:12:35 +0000
committerPeter Eisentraut2000-08-31 16:12:35 +0000
commit424f0edcb8d73446223f1812d3ca88150e1cc953 (patch)
tree6b0f0a9d1d9aed67873e9ff8acd2b5a6da77ac58 /doc/src/Makefile
parentd4266620e1c92d0b5d76d8c583f2fbfcf5bcd7fe (diff)
Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some now obsoleted make variables.
Diffstat (limited to 'doc/src/Makefile')
-rw-r--r--doc/src/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/doc/src/Makefile b/doc/src/Makefile
index 38471a1193d..3b7e52e6077 100644
--- a/doc/src/Makefile
+++ b/doc/src/Makefile
@@ -1,21 +1,14 @@
# Postgres documentation makefile
-# Thomas Lockhart
+# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.11 2000/08/31 16:09:16 petere Exp $
-# Not yet generated from configure, so use relative path names for now...
-PGDOCS= ..
-SRCDIR= ../../src
+subdir = doc/src
+top_builddir = ../..
+-include $(top_builddir)/src/Makefile.global
TAR= tar
ZIP= gzip
TAREXCLUDE= --exclude=Makefile --exclude='*.sgml' --exclude=ref
-# Pick up Makefile.global from the source area
-# This is the only resource from the code source area and is optional
-
-ifneq ($(wildcard $(SRCDIR)/Makefile.global), )
-include $(SRCDIR)/Makefile.global
-endif
-
SRC= admin postgres programmer tutorial user
TARGETS= $(SRC:%=%.tar.gz)
@@ -80,5 +73,4 @@ man.tar:
# Compressed file
%.gz: %
- ($(ZIP) -f $<)
-
+ $(GZIP) -f $<