This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
libiberty's *-clean-subdir rules are broken
- To: binutils at sourceware dot cygnus dot com, gdb-patches at sourceware dot cygnus dot com
- Subject: libiberty's *-clean-subdir rules are broken
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 26 May 2000 09:49:09 -0300
- Organization: Cygnus Solutions, a Red Hat Company
I'm checking this in, under the obviously correct rule. It had been
checked into the GCC tree almost a month ago, but I forgot to install
it in Sourceware's src repo too.
Index: libiberty/ChangeLog
from Alexandre Oliva <aoliva@cygnus.com>
* Makefile.in (maintainer-clean-subdir): Fix handling of empty
SUBDIRS.
Index: libiberty/Makefile.in
===================================================================
RCS file: /cvs/src/src/libiberty/Makefile.in,v
retrieving revision 1.5
diff -u -r1.5 Makefile.in
--- libiberty/Makefile.in 2000/04/21 22:19:43 1.5
+++ libiberty/Makefile.in 2000/05/26 12:47:07
@@ -244,9 +244,9 @@
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
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me