build: remove unnecessary distclean targets

This also fixes the duplicate execution of the "clean" targets.
This commit is contained in:
Kelvin M. Klann 2023-07-15 01:41:25 -03:00
parent 8ee610eb10
commit 5f27852906
6 changed files with 0 additions and 19 deletions

View file

@ -184,10 +184,6 @@ clean:
.PHONY: distclean
distclean: clean
for dir in $$(dirname $(ALL_ITEMS)) $(MYDIRS); do \
$(MAKE) -C $$dir distclean; \
done
$(MAKE) -C test distclean
rm -fr autom4te.cache config.log config.mk config.sh config.status
.PHONY: realinstall

View file

@ -13,6 +13,3 @@ firejail.bash_completion: firejail.bash_completion.in $(ROOT)/config.mk
.PHONY: clean
clean:
rm -fr firejail.bash_completion
.PHONY: distclean
distclean: clean

View file

@ -20,6 +20,3 @@ $(PROG): $(OBJS) $(ROOT)/config.mk
.PHONY: clean
clean:; rm -fr $(PROG) $(CLEANFILES)
.PHONY: distclean
distclean: clean

View file

@ -20,6 +20,3 @@ $(SO): $(OBJS) $(ROOT)/config.mk
.PHONY: clean
clean:; rm -fr $(SO) $(CLEANFILES)
.PHONY: distclean
distclean: clean

View file

@ -13,6 +13,3 @@ _firejail: _firejail.in $(ROOT)/config.mk
.PHONY: clean
clean:
rm -fr _firejail
.PHONY: distclean
distclean: clean

View file

@ -12,6 +12,3 @@ $(TESTS):
.PHONY: clean
clean:
for test in $(TESTS); do rm -f "$$test/$$test.log"; done
.PHONY: distclean
distclean: clean