diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-21 22:20:20 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-21 22:20:20 +0000 |
commit | c9b2f47cb0ed47204898bbdd1ed16b8a103967cd (patch) | |
tree | f16a128d2212c3b1ba184395a8d90b10df4cfbca /libiberty/Makefile.in | |
parent | cfdfcebbe92b95507531f6619f6d16334ac31943 (diff) | |
download | gcc-c9b2f47cb0ed47204898bbdd1ed16b8a103967cd.tar.gz |
2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* Makefile.in (*-subdir): Revamp slightly to avoid losing on
4.3BSD systems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33329 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r-- | libiberty/Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 9aa57f06d4b..054454e6096 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 |