diff options
author | rse <rse@13f79535-47bb-0310-9956-ffa450edef68> | 1999-09-27 06:39:37 +0000 |
---|---|---|
committer | rse <rse@13f79535-47bb-0310-9956-ffa450edef68> | 1999-09-27 06:39:37 +0000 |
commit | 77abc948dd69f706cc2f864cba090318d028fd89 (patch) | |
tree | 3fec030f65826936a09a55422eb24e45b6cd182f /Makefile.in | |
parent | 7b00562f4773dc35ae4fdab16a857d31beada4eb (diff) | |
download | libapr-77abc948dd69f706cc2f864cba090318d028fd89.tar.gz |
Fix "make distclean" in APR: the Makefiles were not removed, because it's not
correct to use subdir_clean for the distclean target.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59248 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 5687e19b1..61143909e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -49,7 +49,9 @@ clean: subdirs_clean depend: subdirs_depend -distclean: clean +distclean: subdirs_distclean + -$(RM) -f *.o *.a *.so + -$(RM) -f config.cache config.status config.log -$(RM) -f Makefile subdirs: @@ -77,4 +79,12 @@ subdirs_clean: echo "<=== $(SDP)lib/apr/$$i"; \ done; +subdirs_distclean: + @for i in $(SUBDIRS); do \ + echo "===> $(SDP)lib/apr/$$i"; \ + ( cd $$i && $(MAKE) $(MFLAGS_STATIC) SDP='$(SDP)' distclean ) \ + || exit 1; \ + echo "<=== $(SDP)lib/apr/$$i"; \ + done; + # DO NOT REMOVE |