2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
authorJeff Law <law@redhat.com>
Fri, 21 Apr 2000 22:19:43 +0000 (22:19 +0000)
committerJeff Law <law@redhat.com>
Fri, 21 Apr 2000 22:19:43 +0000 (22:19 +0000)
        * Makefile.in (*-subdir): Revamp slightly to avoid losing on
        4.3BSD systems.

libiberty/ChangeLog
libiberty/Makefile.in

index 37c565831b154456f03aeeeaba1712396d1c2421..459a0919299fe9c59a84a2f50ebb11c3e4b6601c 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * Makefile.in (*-subdir): Revamp slightly to avoid losing on
+       4.3BSD systems.
+
 2000-04-05  Richard Henderson  <rth@cygnus.com>
 
        * splay-tree.c (splay_tree_remove): New.
index 9aa57f06d4bf141ba386a64f4a4a31a86d2f66fc..054454e609683cc41eb9b6d2a1c94a7342d0d3fd 100644 (file)
@@ -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