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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user