summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-08-19 18:35:17 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-08-19 18:35:17 +0000
commitd0f8a6c4e8e0f11d66f466f78b457e187899820b (patch)
treeb22ec5c7ed6a1095d50cfd6a2ae4367f70e28e06 /src
parent0b62293b713405538b6dbf478ae3371b14fd035f (diff)
Make the doc directory a conditional...only try to "compile" if it
actually exists...
Diffstat (limited to 'src')
-rw-r--r--src/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 5f6c4b85c87..0648ccc014f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Makefile,v 1.3 1996/08/01 19:46:46 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/Makefile,v 1.3.2.1 1996/08/19 18:35:17 scrappy Exp $
#
# NOTES
# objdir - location of the objects and generated files (eg. obj)
@@ -23,7 +23,12 @@ ifeq ($(USE_TCL), true)
SUBDIR += libpgtcl
endif
-SUBDIR+= bin ../doc
+SUBDIR+= bin
+
+DOC= $(shell ls -ld ../doc)
+ifeq ($(DOC), ../doc)
+SUBDIR+= ../doc
+endif
FIND = find
# assuming gnu tar and split here