From: Tom Lane Date: Sun, 24 Feb 2013 13:58:00 +0000 (-0500) Subject: Fix build of contrib/pg_xlogdump. X-Git-Tag: REL9_3_BETA1~304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5bf0c376ed43feaebbe37519a6b8bc8e795f1d2;p=postgresql Fix build of contrib/pg_xlogdump. rmgrdesc.c is not auto-generated now, though it apparently was the last time the Makefile was updated. --- diff --git a/contrib/pg_xlogdump/Makefile b/contrib/pg_xlogdump/Makefile index f381967c97..22bd8dc35a 100644 --- a/contrib/pg_xlogdump/Makefile +++ b/contrib/pg_xlogdump/Makefile @@ -10,7 +10,7 @@ OBJS = pg_xlogdump.o compat.o xlogreader.o rmgrdesc.o \ RMGRDESCSOURCES = $(notdir $(wildcard $(top_srcdir)/src/backend/access/rmgrdesc/*desc.c)) RMGRDESCOBJS = $(patsubst %.c,%.o,$(RMGRDESCSOURCES)) -EXTRA_CLEAN = $(RMGRDESCSOURCES) xlogreader.c rmgrdesc.c +EXTRA_CLEAN = $(RMGRDESCSOURCES) xlogreader.c ifdef USE_PGXS PG_CONFIG = pg_config @@ -25,7 +25,7 @@ endif override CPPFLAGS := -DFRONTEND $(CPPFLAGS) -rmgrdesc.c xlogreader.c: % : $(top_srcdir)/src/backend/access/transam/% +xlogreader.c: % : $(top_srcdir)/src/backend/access/transam/% rm -f $@ && $(LN_S) $< . $(RMGRDESCSOURCES): % : $(top_srcdir)/src/backend/access/rmgrdesc/%