From 0da293f868d4ce9aa7477123e11fa9a0f80d5afc Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Mon, 23 Sep 1996 08:43:40 +0000
Subject: [PATCH] Fix for using Makefile.custom

Suggested/Submitted by: darcy@druid.druid.com
Cleaner Method Submitted by: Bryan Henderson <bryanh@giraffe.netgate.net>
---
 src/Makefile.global | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.global b/src/Makefile.global
index e7e80f0a330..3e1e55e2b49 100644
--- a/src/Makefile.global
+++ b/src/Makefile.global
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.33 1996/09/23 08:37:41 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.34 1996/09/23 08:43:40 scrappy Exp $
 #
 # NOTES
 #    This is seen by any Makefiles that include mk/postgres.mk. To
@@ -322,6 +322,7 @@ objdir=		obj
 # when you upgrade the source) so you have to create at least an
 # empty one.  Run "touch Makefile.custom" in the source directory
 # to create an empty customization file.  Make your local changes.
-
-# include $(MKDIR)/../Makefile.custom
+ifneq ($(wildcard $(MKDIR)/../Makefile.custom), )
+include $(MKDIR)/../Makefile.custom
+endif
 
-- 
GitLab