From: Ryan Bloom Date: Mon, 10 Jul 2000 15:07:40 +0000 (+0000) Subject: Stop doing the find for make clean. This was causing us to clean every X-Git-Tag: APACHE_2_0_ALPHA_5~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=818d3941afc8dcb32353cdb499f1125ca7960d58;p=apache Stop doing the find for make clean. This was causing us to clean every directory twice. We should still clean those directories that weren't configured in the current configuration, but this wasn't the right solution. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85807 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/rules.mk b/build/rules.mk index ca6afea22a..460bdfef5d 100644 --- a/build/rules.mk +++ b/build/rules.mk @@ -104,7 +104,7 @@ DEFS = -I. -I$(srcdir) -I$(top_srcdir)/modules/mpm/$(MPM_NAME) all: all-recursive install: install-recursive -# if we are doing a distclean or clean, we actually want to hit every +# if we are doing a distclean, we actually want to hit every # directory that has ever been configured. To do this, we just do a quick # find for all the leftover Makefiles, and then run make distclean in those # directories. @@ -121,7 +121,7 @@ distclean-recursive clean-recursive depend-recursive all-recursive install-recur done; \ if test "$$otarget" = "all" && test -z '$(targets)'; then ok=yes; fi;\ if test "$$ok" != "yes"; then $(MAKE) "$$otarget-p" || exit 1; fi; \ - if test "$$otarget" = "distclean" || test "$$otarget" = "clean"; then\ + if test "$$otarget" = "distclean" ; then\ for d in `find . -name Makefile`; do \ i=`dirname "$$d"`; \ target="$$otarget"; \