Remove also tests on make clean.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 15 Oct 2018 21:53:02 +0000 (23:53 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 15 Oct 2018 21:53:02 +0000 (23:53 +0200)
Makefile

index 12ecae4..8566abe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ uninstall:
        $(RM) $(LIBDIR)/$(EXTTARGET)
        $(RM) $(DOTDESKTOPPREFIX)/vimb.desktop
 
-clean: src.subdir-clean
+clean: src.subdir-clean test-clean
 
 sandbox:
        $(Q)$(MAKE) RUNPREFIX=$(CURDIR)/sandbox/usr PREFIX=/usr DESTDIR=./sandbox install
@@ -44,6 +44,9 @@ test:
        $(MAKE) -C src vimb.so
        $(MAKE) -C tests
 
+test-clean:
+       $(MAKE) -C tests clean
+
 %.subdir-all:
        $(Q)$(MAKE) -C $*