aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-03-10 00:03:26 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-03-10 00:04:05 -0500
commit174f65ab00bb8de0f119a6a60d562b516ba71bba (patch)
treef649991098c4b28941a60ae7f2a5cc50c7a267a6 /src/backend
parent76fdee31c4ff74b7eae5965521a85d29381bcaec (diff)
downloadpostgresql-174f65ab00bb8de0f119a6a60d562b516ba71bba.tar.gz
postgresql-174f65ab00bb8de0f119a6a60d562b516ba71bba.zip
Fix some oversights in distprep and maintainer-clean targets.
At least two recent commits have apparently imagined that a comment in a Makefile stating that something would be included in the distribution tarball was sufficient to make it so. They hadn't bothered to hook into the upper maintainer-clean targets either. Per bug #5923 from Charles Johnson, in which it emerged that the 9.1alpha4 tarballs are short a few files that should be there.
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/Makefile b/src/backend/Makefile
index 2b2c9bb9a22..f29d28d4916 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -193,10 +193,12 @@ utils/probes.o: utils/probes.d $(SUBDIROBJS)
##########################################################################
+# Be sure that these files get removed by the maintainer-clean target
distprep:
$(MAKE) -C parser gram.c gram.h scan.c
$(MAKE) -C bootstrap bootparse.c bootscanner.c
$(MAKE) -C catalog schemapg.h postgres.bki postgres.description postgres.shdescription
+ $(MAKE) -C replication repl_gram.c repl_scanner.c
$(MAKE) -C utils fmgrtab.c fmgroids.h errcodes.h
$(MAKE) -C utils/misc guc-file.c
@@ -300,12 +302,14 @@ maintainer-clean: distclean
rm -f bootstrap/bootparse.c \
bootstrap/bootscanner.c \
parser/gram.c \
- parser/scan.c \
parser/gram.h \
+ parser/scan.c \
catalog/schemapg.h \
catalog/postgres.bki \
catalog/postgres.description \
catalog/postgres.shdescription \
+ replication/repl_gram.c \
+ replication/repl_scanner.c \
utils/fmgroids.h \
utils/fmgrtab.c \
utils/errcodes.h \