diff options
author | Jeff Trawick <trawick@apache.org> | 2000-11-27 23:32:50 +0100 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-11-27 23:32:50 +0100 |
commit | 2f9034d38fe0ce3bf8dc9d65021eab76e8dae841 (patch) | |
tree | 5c56bc2393dacce3c07d3f707dcec72b24c4d7e3 /build | |
parent | *) sprinkle a little magic "const" dust around (specifically, to compensate (diff) | |
download | apache2-2f9034d38fe0ce3bf8dc9d65021eab76e8dae841.tar.xz apache2-2f9034d38fe0ce3bf8dc9d65021eab76e8dae841.zip |
Tweak the logic to avoid "make distclean" inside APR directories so that
it works on Tru64. On that platform, when grep failed (because we weren't
in an APR directory), the non-zero exit status failed the entire operation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87096 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r-- | build/rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/rules.mk b/build/rules.mk index a6458a5587..2e4a41bd43 100644 --- a/build/rules.mk +++ b/build/rules.mk @@ -150,8 +150,8 @@ distclean-recursive clean-recursive depend-recursive all-recursive install-recur for d in `find . -name Makefile`; do \ i=`dirname "$$d"`; \ target="$$otarget"; \ - in_apr=`echo $$i|grep 'apr/.'`; \ - if test "x$$in_apr" = "x"; then \ + in_apr=`echo $$i|sed 's%^.*apr/.*$$%ignore_apr_subdirs%'`; \ + if test "x$$in_apr" != "xignore_apr_subdirs"; then \ echo "Making $$target in $$i"; \ if test "$$i" = "."; then \ ok=yes; \ |