From: Andrew Dunstan Date: Wed, 3 Jul 2013 23:03:31 +0000 (-0400) Subject: Install all a Makefile's extension controls, not just the first. X-Git-Tag: REL9_4_BETA1~1376 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82b0102650cf85268145a46f0ab488bacf6599a1;p=thirdparty%2Fpostgresql.git Install all a Makefile's extension controls, not just the first. Bug introduced by commit 6697aa2bc25c83b88d6165340348a31328c35de6 and reported by Robert Haas. --- diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk index f4eaa744c51..8618aa1d1a4 100644 --- a/src/makefiles/pgxs.mk +++ b/src/makefiles/pgxs.mk @@ -134,7 +134,7 @@ endif # PROGRAM installcontrol: $(addsuffix .control, $(EXTENSION)) ifneq (,$(EXTENSION)) - $(INSTALL_DATA) $< '$(DESTDIR)$(datadir)/extension/' + $(INSTALL_DATA) $^ '$(DESTDIR)$(datadir)/extension/' endif installdata: $(DATA) $(DATA_built)