1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-24 08:52:38 +02:00

Makefile update for future PG13

This commit is contained in:
Grigory Smolkin 2019-11-08 19:18:38 +03:00
parent 24d0224981
commit b5564e8c38

View File

@ -39,6 +39,7 @@ else
srchome=$(top_srcdir)
endif
#ifneq (,$(filter 9.5 9.6 10 11,$(MAJORVERSION)))
ifneq (12,$(MAJORVERSION))
EXTRA_CLEAN += src/logging.h
INCLUDES += src/logging.h
@ -76,6 +77,7 @@ src/streamutil.h: $(top_srcdir)/src/bin/pg_basebackup/streamutil.h
src/xlogreader.c: $(top_srcdir)/src/backend/access/transam/xlogreader.c
rm -f $@ && $(LN_S) $(srchome)/src/backend/access/transam/xlogreader.c $@
#ifneq (,$(filter 9.5 9.6 10 11,$(MAJORVERSION)))
ifneq (12,$(MAJORVERSION))
src/logging.h: $(top_srcdir)/src/bin/pg_rewind/logging.h
rm -f $@ && $(LN_S) $(srchome)/src/bin/pg_rewind/logging.h $@