aboutsummaryrefslogtreecommitdiff
path: root/libiberty/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r--libiberty/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 054454e..34e5ee0 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -244,9 +244,9 @@ 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:
- @if test "x$(SUBDIRS)" = x; then exit 0; fi; \
+ @subdirs='$(SUBDIRS)'; \
target=`echo $@ | sed -e 's/-subdir//'`; \
- for dir in $(SUBDIRS) ; do \
+ for dir in $$subdirs ; do \
cd $$dir && $(MAKE) $$target; \
done