summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorrse <rse@13f79535-47bb-0310-9956-ffa450edef68>1999-09-27 06:39:37 +0000
committerrse <rse@13f79535-47bb-0310-9956-ffa450edef68>1999-09-27 06:39:37 +0000
commit77abc948dd69f706cc2f864cba090318d028fd89 (patch)
tree3fec030f65826936a09a55422eb24e45b6cd182f /Makefile.in
parent7b00562f4773dc35ae4fdab16a857d31beada4eb (diff)
downloadlibapr-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.in12
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