build: distcheck: do not leave a $TMPDIR/coreutils directory behind
authorJim Meyering <meyering@redhat.com>
Sat, 5 Dec 2009 21:16:32 +0000 (22:16 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 7 Dec 2009 17:54:26 +0000 (18:54 +0100)
commitae034822c535fa5168069a75fb5e1c58f93a7834
treec56cda5ac3386ddacc6090fc32d69399e31d79e5
parentd8cadda3b9b656870d54fe89dc94e72ecd496013
build: distcheck: do not leave a $TMPDIR/coreutils directory behind

* dist-check.mk (tmpdir): Rename from TMPDIR.  Use ./tests/torture
unconditionally, rather than $TMPDIR-with-default-to-/tmp.
Otherwise, running "make distcheck" could leave an empty /tmp/coreutils
directory behind.
(tp): Simplify, now that it's always in the build-dir.
(taint-distcheck): Set HOME earlier, in case $(MAKE) misbehaves.
(my-instcheck, coreutils-path-check): Add diagnostics, so it's easier
to diagnose when each runs.
(coreutils-path-check): Run configure with --quiet, to reduce output.
Inspired by Ralf Wildenhues' report of /tmp/coreutils being left behind.
dist-check.mk