mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 02:41:01 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32225 72102866-910b-0410-8b05-ffd578937521
32 lines
723 B
Text
32 lines
723 B
Text
#
|
|
# GNUmakefile.postamble for base tests
|
|
#
|
|
# Find all all subdirectories and run a clean in them independantly
|
|
#
|
|
|
|
after-clean::
|
|
$(ECHO_NOTHING)\
|
|
RUNDIR=`pwd`; \
|
|
TESTDIRS=`find . -type d`; \
|
|
for dir in $$TESTDIRS __done; do \
|
|
if [ $$dir != . -a -f $$dir/GNUmakefile ]; then \
|
|
echo Cleaning $$dir; cd $$dir; make clean; cd $$RUNDIR; \
|
|
fi \
|
|
done \
|
|
$(END_ECHO)
|
|
|
|
after-distclean::
|
|
$(ECHO_NOTHING)\
|
|
RUNDIR=`pwd`; \
|
|
TESTDIRS=`find . -type d`; \
|
|
for dir in $$TESTDIRS __done; do \
|
|
if [ $$dir != . -a -f $$dir/GNUmakefile ]; then \
|
|
echo Cleaning $$dir; cd $$dir; make distclean; \
|
|
if [ \! -f IGNORE ]; then \
|
|
$(RM) GNUmakefile; \
|
|
fi; \
|
|
cd $$RUNDIR; \
|
|
fi \
|
|
done \
|
|
$(END_ECHO)
|
|
|