* Makefile.in (maintainer-clean-subdir): Fix handling of empty
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 26 May 2000 12:50:58 +0000 (12:50 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 26 May 2000 12:50:58 +0000 (12:50 +0000)
SUBDIRS.

libiberty/ChangeLog
libiberty/Makefile.in

index 459a0919299fe9c59a84a2f50ebb11c3e4b6601c..316f6a223c22211bf16a2e8f1831cd9d356441af 100644 (file)
@@ -1,3 +1,8 @@
+2000-05-26  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * Makefile.in (maintainer-clean-subdir): Fix handling of empty
+       SUBDIRS.
+
 2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
 
        * Makefile.in (*-subdir): Revamp slightly to avoid losing on
index 054454e609683cc41eb9b6d2a1c94a7342d0d3fd..34e5ee011a76e1d442c46cf920851aaf24688983 100644 (file)
@@ -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
 
This page took 0.032152 seconds and 4 git commands to generate.