From c667cc24e888dc4efe4c2412ad8dd13a190295e3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 13 Jan 2011 09:32:06 +0200 Subject: [PATCH] Workaround for recursive make breakage Changing a file two directory levels deep under src/backend/ would not cause the postgres binary to be rebuilt. This change fixes it, but no one knows why. --- src/backend/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/common.mk b/src/backend/common.mk index 4f8771d46d..5d599dbd0c 100644 --- a/src/backend/common.mk +++ b/src/backend/common.mk @@ -34,7 +34,7 @@ objfiles.txt: Makefile $(SUBDIROBJS) $(OBJS) expand_subsys = $(foreach file,$(1),$(if $(filter %/objfiles.txt,$(file)),$(patsubst ../../src/backend/%,%,$(addprefix $(top_builddir)/,$(shell cat $(file)))),$(file))) # Parallel make trickery -$(SUBDIROBJS): | $(SUBDIRS:%=%-recursive) ; +$(SUBDIROBJS): $(SUBDIRS:%=%-recursive) ; .PHONY: $(SUBDIRS:%=%-recursive) $(SUBDIRS:%=%-recursive):