* Makefile.in (maintainer-clean-subdir): Fix handling of empty
SUBDIRS.
This commit is contained in:
parent
b6cdd0fd9a
commit
010c70e10f
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
|
||||||
|
|
||||||
* Makefile.in (*-subdir): Revamp slightly to avoid losing on
|
* Makefile.in (*-subdir): Revamp slightly to avoid losing on
|
||||||
|
|
|
@ -244,9 +244,9 @@ all-subdir check-subdir installcheck-subdir info-subdir \
|
||||||
install-info-subdir clean-info-subdir dvi-subdir install-subdir \
|
install-info-subdir clean-info-subdir dvi-subdir install-subdir \
|
||||||
etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
|
etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
|
||||||
maintainer-clean-subdir:
|
maintainer-clean-subdir:
|
||||||
@if test "x$(SUBDIRS)" = x; then exit 0; fi; \
|
@subdirs='$(SUBDIRS)'; \
|
||||||
target=`echo $@ | sed -e 's/-subdir//'`; \
|
target=`echo $@ | sed -e 's/-subdir//'`; \
|
||||||
for dir in $(SUBDIRS) ; do \
|
for dir in $$subdirs ; do \
|
||||||
cd $$dir && $(MAKE) $$target; \
|
cd $$dir && $(MAKE) $$target; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue