From 4ba3e67e1125ed188018f640401565766d31db61 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Sat, 2 Sep 2017 11:50:49 +0900 Subject: [PATCH] Hacky workaround for hacky workaround in 9.4 For some reason 9.4 doesn't install the repmgr/repmgrd binaries with "SCRIPTS_built". "SCRIPTS" seems to work for both 9.4 and later versions. --- Makefile.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 8a2fb10a..0b7f1e21 100644 --- a/Makefile.in +++ b/Makefile.in @@ -13,10 +13,8 @@ DATA = \ repmgr--unpackaged--4.0.sql \ repmgr--4.0.sql - # Hacky workaround to install the binaries -SCRIPTS_built = repmgr repmgrd - +SCRIPTS += repmgr repmgrd # When in development add -Werror PG_CPPFLAGS = -std=gnu89 -I$(libpq_srcdir) -Wall -Wmissing-prototypes -Wmissing-declarations $(EXTRA_CFLAGS) @@ -29,6 +27,7 @@ OBJS = \ include Makefile.global + $(info Building against PostgreSQL $(MAJORVERSION)) REPMGR_CLIENT_OBJS = repmgr-client.o \