]> granicus.if.org Git - apache/commitdiff
Stop doing the find for make clean. This was causing us to clean every
authorRyan Bloom <rbb@apache.org>
Mon, 10 Jul 2000 15:07:40 +0000 (15:07 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 10 Jul 2000 15:07:40 +0000 (15:07 +0000)
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

build/rules.mk

index ca6afea22a23362d2487982756178559b4a90954..460bdfef5d6f23cee46b4c7799126633e71a9901 100644 (file)
@@ -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"; \