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.
This commit is contained in:
Ian Barwick
2017-09-02 11:50:49 +09:00
parent ab6702891a
commit 4ba3e67e11

View File

@@ -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 \