]> granicus.if.org Git - postgresql/commitdiff
Workaround for recursive make breakage
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 13 Jan 2011 07:32:06 +0000 (09:32 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 13 Jan 2011 07:32:06 +0000 (09:32 +0200)
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

index 4f8771d46dfcd6c9cbfeab8aafc2f1a6bd603a12..5d599dbd0ca2519436702a934e2fb666aa53aaf3 100644 (file)
@@ -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):