From 9c6aa8cca0c8b2d46a174ec5171c2cf0aa97b2d0 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 29 Nov 2011 23:14:16 -0500 Subject: [PATCH] Move EXTRA_CLEAN to where it actually works. --- contrib/pg_upgrade/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/pg_upgrade/Makefile b/contrib/pg_upgrade/Makefile index 63918625f4..f00aad01d6 100644 --- a/contrib/pg_upgrade/Makefile +++ b/contrib/pg_upgrade/Makefile @@ -11,6 +11,8 @@ OBJS = check.o controldata.o dump.o exec.o file.o function.o info.o \ PG_CPPFLAGS = -DFRONTEND -DDLSUFFIX=\"$(DLSUFFIX)\" -I$(srcdir) -I$(libpq_srcdir) PG_LIBS = $(libpq_pgport) +EXTRA_CLEAN = delete_old_cluster.sh log/ tmp_check/ + ifdef USE_PGXS PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) @@ -28,5 +30,3 @@ check: test.sh # disabled because it upsets the build farm #installcheck: test.sh # MAKE=$(MAKE) bindir=$(bindir) libdir=$(libdir) $(SHELL) $< - -EXTRA_CLEAN = delete_old_cluster.sh log/ tmp_check/