From 95261c44d250c1a171e0fcc280185720d364a49c Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Fri, 1 Aug 2003 16:12:32 +0000
Subject: [PATCH] While having a parallel-make-safe genbki.sh is good, it's
 better not to uselessly invoke it in parallel in the first place.

---
 src/backend/catalog/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/backend/catalog/Makefile b/src/backend/catalog/Makefile
index bf36399daa5..3d8163fe247 100644
--- a/src/backend/catalog/Makefile
+++ b/src/backend/catalog/Makefile
@@ -2,7 +2,7 @@
 #
 # Makefile for backend/catalog
 #
-# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.46 2003/04/06 22:45:22 petere Exp $
+# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.47 2003/08/01 16:12:32 petere Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -37,7 +37,10 @@ POSTGRES_BKI_SRCS := $(addprefix $(top_srcdir)/src/include/catalog/,\
 
 pg_includes := $(sort -I$(top_srcdir)/src/include -I$(top_builddir)/src/include)
 
-postgres.bki postgres.description: genbki.sh $(POSTGRES_BKI_SRCS) \
+# see explanation in ../parser/Makefile
+postgres.description: postgres.bki ;
+
+postgres.bki: genbki.sh $(POSTGRES_BKI_SRCS) \
     $(top_srcdir)/src/include/postgres_ext.h $(top_builddir)/src/include/pg_config_manual.h
 	CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $< $(BKIOPTS) -o postgres $(pg_includes) $(POSTGRES_BKI_SRCS) --set-version=$(VERSION)
 
-- 
GitLab