From: Marc G. Fournier Date: Mon, 19 Aug 1996 18:35:17 +0000 (+0000) Subject: Make the doc directory a conditional...only try to "compile" if it X-Git-Tag: PG95-1_08~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0f8a6c4e8e0f11d66f466f78b457e187899820b;p=postgresql Make the doc directory a conditional...only try to "compile" if it actually exists... --- diff --git a/src/Makefile b/src/Makefile index 5f6c4b85c8..0648ccc014 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