1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-26 15:20:21 +01:00

Make distclean target more failure proof.

Audacity tries to run clean/distclean on subdirectories speculatively
and ignores errors of the clean/distclean call in subdirectories.
clean/distclean should only be run for subdirectories if they contain
a Makefile.
This commit is contained in:
benjamin.drung@gmail.com
2013-10-24 00:19:11 +00:00
parent 7bb67e33fd
commit e233f13c94
2 changed files with 46 additions and 46 deletions

View File

@@ -150,7 +150,7 @@ dep:
clean:
$(MAKE) -C lib-src clean
$(MAKE) -C src clean
-$(MAKE) -C tests clean
test ! -f tests/Makefile || $(MAKE) -C tests clean
rm -f audacity
rm -f help/audacity.1.gz
rm -rf Audacity.app
@@ -165,7 +165,7 @@ veryclean: clean
distclean: clean
$(MAKE) -C locale distclean
$(MAKE) -C lib-src distclean
-$(MAKE) -C tests distclean
test ! -f tests/Makefile || $(MAKE) -C tests distclean
rm -f Makefile src/Makefile lib-src/Makefile
rm -f locale/Makefile src/configunix.h