Changeset 9742


Ignore:
Timestamp:
2005-04-26T14:45:32+12:00 (19 years ago)
Author:
davidb
Message:

'make clean' was quitting early if no makefile could be found in subdirectory.
A test has now been added (in the same way as that done for 'distclean') to
check for existance of Makefile first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/Makefile.in

    r8878 r9742  
    7878    for subdir in $(INSTALLDIRS) $(OTHERDIRS); do \
    7979      echo cleaning $@ in $$subdir; \
    80       (cd $$subdir && $(MAKE) clean) || exit 1; \
     80      (cd $$subdir && if test -e Makefile; then $(MAKE) clean; fi) || exit 1; \
    8181    done
    8282
Note: See TracChangeset for help on using the changeset viewer.