summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2014-01-02 19:20:28 +0000
committerTom Lane2014-01-02 19:20:28 +0000
commit4cf81b737d5bb5f695671479c427c78f95c82119 (patch)
treebcfb6e624e7352067eef79b3a6a5425ab9d142a4
parent4b351841fa0b90cb72f5f63c56f06e4511850ac4 (diff)
Fix contrib/pg_upgrade to clean all the cruft made during "make check".
Although these files get cleaned up if the test runs to completion, a failure partway through leaves trash all over the floor. The Makefile ought to be bright enough to get rid of it when you say "make clean".
-rw-r--r--contrib/pg_upgrade/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/Makefile b/contrib/pg_upgrade/Makefile
index ffcdad81574..150a9b4770b 100644
--- a/contrib/pg_upgrade/Makefile
+++ b/contrib/pg_upgrade/Makefile
@@ -11,7 +11,9 @@ 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 = analyze_new_cluster.sh delete_old_cluster.sh log/ tmp_check/
+EXTRA_CLEAN = analyze_new_cluster.sh delete_old_cluster.sh log/ tmp_check/ \
+ pg_upgrade_dump_globals.sql \
+ pg_upgrade_dump_*.custom pg_upgrade_*.log
ifdef USE_PGXS
PG_CONFIG = pg_config