diff --git a/ChangeLog b/ChangeLog index ba0a412303..249aa7f320 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 22 17:37:58 2010 Nobuyoshi Nakada + + * Makefile.in ({dist,real}clean-ext): fix for removing ext + directories. + Mon Mar 22 09:06:10 2010 Tanaka Akira * ext/socket/.document: extracted from ext/.document. diff --git a/Makefile.in b/Makefile.in index 5bda7a6962..bec0327828 100644 --- a/Makefile.in +++ b/Makefile.in @@ -259,9 +259,10 @@ clean-ext distclean-ext realclean-ext:: set dummy `for dir; do \ find $$dir -name Makefile | sed 's:^\./::;s:/Makefile$$:~:' | sort | sed 's:~$$::'; \ done`; shift; \ + cd ..; \ for dir; do \ echo $(@:-ext=)ing "$$dir"; \ - (cd "$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \ + (cd "ext/$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \ case "$@" in \ *distclean-ext*|*realclean-ext*) \ $(RMDIRS) "$$dir";; \