diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-05-26 12:50:58 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2000-05-26 12:50:58 +0000 |
commit | 010c70e10fb422ae6151a8808215a122f461fce8 (patch) | |
tree | d876513dae994462751d4a9398553d273751cfb6 /libiberty | |
parent | b6cdd0fd9a2e1cd2dc78d94edc17b405b6ca23b9 (diff) | |
download | gdb-010c70e10fb422ae6151a8808215a122f461fce8.zip gdb-010c70e10fb422ae6151a8808215a122f461fce8.tar.gz gdb-010c70e10fb422ae6151a8808215a122f461fce8.tar.bz2 |
* Makefile.in (maintainer-clean-subdir): Fix handling of empty
SUBDIRS.
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/Makefile.in | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 459a091..316f6a2 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -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 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 |