From 19be430370b901be8149b925820d300a2663ef43 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 21 Apr 2000 22:19:43 +0000 Subject: [PATCH] 2000-04-21 Michael Sokolov * Makefile.in (*-subdir): Revamp slightly to avoid losing on 4.3BSD systems. --- libiberty/ChangeLog | 5 +++++ libiberty/Makefile.in | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 37c5658..459a091 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2000-04-21 Michael Sokolov + + * Makefile.in (*-subdir): Revamp slightly to avoid losing on + 4.3BSD systems. + 2000-04-05 Richard Henderson * splay-tree.c (splay_tree_remove): New. diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 9aa57f0..054454e 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -244,9 +244,10 @@ all-subdir check-subdir installcheck-subdir info-subdir \ install-info-subdir clean-info-subdir dvi-subdir install-subdir \ etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \ maintainer-clean-subdir: - @target=`echo $@ | sed -e 's/-subdir//'`; \ - for dir in . $(SUBDIRS) ; do \ - test $$dir = . || (cd $$dir && $(MAKE) $$target) || exit 1; \ + @if test "x$(SUBDIRS)" = x; then exit 0; fi; \ + target=`echo $@ | sed -e 's/-subdir//'`; \ + for dir in $(SUBDIRS) ; do \ + cd $$dir && $(MAKE) $$target; \ done $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA): stamp-picdir -- 2.7.4