From 82b0102650cf85268145a46f0ab488bacf6599a1 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Wed, 3 Jul 2013 19:03:31 -0400 Subject: [PATCH] Install all a Makefile's extension controls, not just the first. Bug introduced by commit 6697aa2bc25c83b88d6165340348a31328c35de6 and reported by Robert Haas. --- src/makefiles/pgxs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)