[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[committed] Remove testsuite artefacts for make clean
Hi,
Improve make clean such that only the configure-generated Makefile and the
testsuite/dwz.tests/execs cache is left.
...
$ make clean
$ ls
Makefile testsuite
$
...
Committed to trunk.
Thanks,
- Tom
Remove testsuite artefacts for make clean
2019-07-05 Tom de Vries <tdevries@suse.de>
* Makefile (clean): Also remove $(TEST_EXECS) $(DWZ_TEST_SOURCES)
dwz.log dwz.sum testsuite-bin tmp.*.
---
Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index df7fb17..0216de4 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,9 @@ install: dwz
install -D dwz $(DESTDIR)$(bindir)/dwz
install -D -m 644 $(srcdir)/dwz.1 $(DESTDIR)$(mandir)/man1/dwz.1
clean:
- rm -f $(OBJECTS) *~ core* dwz
+ rm -f $(OBJECTS) *~ core* dwz $(TEST_EXECS) $(DWZ_TEST_SOURCES) \
+ dwz.log dwz.sum
+ rm -Rf testsuite-bin tmp.*
PWD:=$(shell pwd -P)