Skip to content

Commit

Permalink
Fix distclean/maintainer-clean targets to remove top-level tmp_instal…
Browse files Browse the repository at this point in the history
…l 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.
  • Loading branch information
tglsfdc committed May 13, 2015
1 parent 61f68e0 commit 9660710
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GNUmakefile.in
Expand Up @@ -58,9 +58,10 @@ distclean maintainer-clean:
$(MAKE) -C contrib $@
$(MAKE) -C config $@
$(MAKE) -C src $@
rm -f config.cache config.log config.status GNUmakefile
rm -rf tmp_install/
# Garbage from autoconf:
@rm -rf autom4te.cache/
rm -f config.cache config.log config.status GNUmakefile

check check-tests installcheck installcheck-parallel installcheck-tests:
$(MAKE) -C src/test/regress $@
Expand Down

0 comments on commit 9660710

Please sign in to comment.