Skip to content

Commit d0f8a6c

Browse files
committed
Make the doc directory a conditional...only try to "compile" if it
actually exists...
1 parent 0b62293 commit d0f8a6c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile,v 1.3 1996/08/01 19:46:46 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile,v 1.3.2.1 1996/08/19 18:35:17 scrappy Exp $
1111
#
1212
# NOTES
1313
# objdir - location of the objects and generated files (eg. obj)
@@ -23,7 +23,12 @@ ifeq ($(USE_TCL), true)
2323
SUBDIR += libpgtcl
2424
endif
2525

26-
SUBDIR+= bin ../doc
26+
SUBDIR+= bin
27+
28+
DOC= $(shell ls -ld ../doc)
29+
ifeq ($(DOC), ../doc)
30+
SUBDIR+= ../doc
31+
endif
2732

2833
FIND = find
2934
# assuming gnu tar and split here

0 commit comments

Comments
 (0)