build: move cleaning of test files to test/Makefile

Move them from the distclean target in the root Makefile.

Related commits:

* a1ff0c3fd ("testing", 2026-01-16)
* 2f6afc99d ("gcov testing", 2026-01-16)
This commit is contained in:
Kelvin M. Klann 2026-01-17 02:02:29 -03:00
parent e6b240b3fa
commit f9cc7b24eb
2 changed files with 5 additions and 1 deletions

View file

@ -203,7 +203,7 @@ clean:
.PHONY: distclean .PHONY: distclean
distclean: clean distclean: clean
$(RM) -r autom4te.cache config.log config.mk config.sh config.status test/fnetfilter/outfile test/fnettrace/index.html test/chroot/unchroot test/fcopy/src/dircopy.exp $(RM) -r autom4te.cache config.log config.mk config.sh config.status
.PHONY: install .PHONY: install
install: all config.mk install: all config.mk

View file

@ -18,6 +18,10 @@ clean:
$(RM) environment/index.html* $(RM) environment/index.html*
$(RM) environment/logfile* $(RM) environment/logfile*
$(RM) environment/wget-log* $(RM) environment/wget-log*
$(RM) test/chroot/unchroot
$(RM) test/fcopy/src/dircopy.exp
$(RM) test/fnetfilter/outfile
$(RM) test/fnettrace/index.html
$(RM) utils/firejail-test-file* $(RM) utils/firejail-test-file*
$(RM) utils/index.html* $(RM) utils/index.html*
$(RM) utils/lstesting $(RM) utils/lstesting