Skip to content
Snippets Groups Projects
Commit 9660710e authored by Tom Lane's avatar Tom Lane
Browse files

Fix distclean/maintainer-clean targets to remove top-level tmp_install dir.

The top-level makefile removes tmp_install in its "clean" target, but the
distclean and maintainer-clean targets overlooked that (and they don't
simply invoke clean, because that would result in an extra tree traversal).

While at it, let's just make sure that removing GNUmakefile itself is the
very last step of the recipe.
parent 61f68e0b
Branches
Tags
No related merge requests found
...@@ -58,9 +58,10 @@ distclean maintainer-clean: ...@@ -58,9 +58,10 @@ distclean maintainer-clean:
$(MAKE) -C contrib $@ $(MAKE) -C contrib $@
$(MAKE) -C config $@ $(MAKE) -C config $@
$(MAKE) -C src $@ $(MAKE) -C src $@
rm -f config.cache config.log config.status GNUmakefile rm -rf tmp_install/
# Garbage from autoconf: # Garbage from autoconf:
@rm -rf autom4te.cache/ @rm -rf autom4te.cache/
rm -f config.cache config.log config.status GNUmakefile
check check-tests installcheck installcheck-parallel installcheck-tests: check check-tests installcheck installcheck-parallel installcheck-tests:
$(MAKE) -C src/test/regress $@ $(MAKE) -C src/test/regress $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment