Skip to content
Browse files

Reverse order of SUBDIRS for clean/disclean.

git-svn-id: https://svn.r-project.org/R/trunk@14290 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
1 parent ad00dfa commit 4b393dcb9b4801e91388781004ad1e8c84aeb334 hornik committed May 21, 2001
Showing with 4 additions and 6 deletions.
  1. +4 −6 Makefile.in
View
10 Makefile.in
@@ -98,16 +98,14 @@ uninstall:
mostlyclean: clean
clean:
- @for d in $(SUBDIRS); do \
- (cd $${d} && $(MAKE) $@); \
- done
+ @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
+ for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
@if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
rm -f $(INSTFILES); \
fi
distclean: clean
- @for d in $(SUBDIRS); do \
- (cd $${d} && $(MAKE) $@); \
- done
+ @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
+ for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
@rm -rf bin include library gnome
@rm -f Makeconf Makefile Makefile.bak Makefrag.* \
config.cache config.log config.status libtool

0 comments on commit 4b393dc

Please sign in to comment.
Something went wrong with that request. Please try again.