vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 3d88afaeb08b0481ef7ac048c5b9e1950260cc6e
parent da90f10f93c5539986fb24cd06617e9d96dfd07b
Author: Paride Legovini <paride@debian.org>
Date:   Tue,  7 Jul 2020 11:05:58 +0200

Makefile: add testclean target

The target calls `make clean` in the test submodule, if present.
The target is called by the `distclean` target.

Diffstat:
MMakefile | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -121,11 +121,15 @@ test: [ -e test/Makefile ] || $(MAKE) test-update @$(MAKE) -C test +testclean: + @echo cleaning the test artifacts + [ ! -e test/Makefile ] || $(MAKE) -C test clean + clean: @echo cleaning @rm -f $(ELF) vis-single vis-single-payload.inc vis-*.tar.gz *.gcov *.gcda *.gcno -distclean: clean +distclean: clean testclean @echo cleaning build configuration @rm -f config.h config.mk