diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2008-05-07 11:35:23 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2008-05-07 11:35:23 -0700 |
commit | a6464b3cb08b86d5fc537a4907849546a63ae4da (patch) | |
tree | e3f780df1222827ca5a622c3f5f76b240f132ad6 /Makefile | |
parent | df8134c3cf53a2e4363f27e9a1266e685ca7f0e7 (diff) |
Never fail `make clean'
Mostly some pedantic changes such that `make clean' always ignores
errors. Also changed the top clean target to do the `touch
configs/current' dance instead of realclean.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -17,16 +17,16 @@ doxygen: cd doxygen && $(MAKE) clean: - @for dir in $(SUBDIRS) ; do \ + -@touch $(TOP)/configs/current + -@for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ (cd $$dir && $(MAKE) clean) ; \ fi \ done + -@test -s $(TOP)/configs/current || rm -f $(TOP)/configs/current -realclean: - touch $(TOP)/configs/current - $(MAKE) clean +realclean: clean -rm -rf lib* -rm -f $(TOP)/configs/current -rm -f $(TOP)/configs/autoconf |