]> granicus.if.org Git - postgresql/commitdiff
Make the doc directory a conditional...only try to "compile" if it
authorMarc G. Fournier <scrappy@hub.org>
Mon, 19 Aug 1996 18:35:17 +0000 (18:35 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 19 Aug 1996 18:35:17 +0000 (18:35 +0000)
actually exists...

src/Makefile

index 5f6c4b85c873ab4791caa136d5b28dbe1c20ab51..0648ccc014fbae7e810befe51ee15e3a76953a5b 100644 (file)
@@ -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