Avoid error stop from Make if a directory doesn't exist during subdir_do.
This commit is contained in:
parent
137a7f1119
commit
6849cb7183
29
Makefile.in
29
Makefile.in
|
@ -28,18 +28,18 @@ all:
|
||||||
subdir_do: force
|
subdir_do: force
|
||||||
for i in $(DODIRS); \
|
for i in $(DODIRS); \
|
||||||
do \
|
do \
|
||||||
if [ -d $(srcdir)/$$i -o -d $(srcdir)/$$i.$(target) ] ; then \
|
if [ -d $(srcdir)/$$i -o -d $(srcdir)/$$i.$(target) ] ; then \
|
||||||
if (cd $(srcdir)/$$i`if [ -d $(srcdir)/$$i.$(target) ] ; \
|
if (cd $(srcdir)/$$i`if [ -d $(srcdir)/$$i.$(target) ] ; \
|
||||||
then echo .$(target) ; fi`$(subdir); \
|
then echo .$(target) ; fi`$(subdir); \
|
||||||
$(MAKE) \
|
$(MAKE) \
|
||||||
"destdir=$(destdir)" \
|
"destdir=$(destdir)" \
|
||||||
"AR=$(AR)" \
|
"AR=$(AR)" \
|
||||||
"AR_FLAGS=$(AR_FLAGS)" \
|
"AR_FLAGS=$(AR_FLAGS)" \
|
||||||
"RANLIB=$(RANLIB)" $(DO)) ; \
|
"RANLIB=$(RANLIB)" $(DO)) ; \
|
||||||
then true ; \
|
then true ; \
|
||||||
else exit 1 ; \
|
else exit 1 ; \
|
||||||
fi ;\
|
fi ;\
|
||||||
fi ; \
|
else true; fi ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
|
@ -132,7 +132,10 @@ Makefile: $(srcdir)/Makefile.in $(srcdir)/configure
|
||||||
|
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
# Revision 1.13 1991/05/27 23:03:20 rich
|
# Revision 1.14 1991/05/31 12:34:55 gnu
|
||||||
|
# Avoid error stop from Make if a directory doesn't exist during subdir_do.
|
||||||
|
#
|
||||||
|
# Revision 1.13 1991/05/27 23:03:20 rich
|
||||||
# Put gcc/gstdarg.h where gas can find it; gas/stdarg.h.
|
# Put gcc/gstdarg.h where gas can find it; gas/stdarg.h.
|
||||||
#
|
#
|
||||||
# Revision 1.12 1991/05/19 00:36:44 rich
|
# Revision 1.12 1991/05/19 00:36:44 rich
|
||||||
|
|
Loading…
Reference in New Issue