OSDN Git Service

* Makefile.in (bootstrap): avoid recursion if subdir missing
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Oct 2000 18:00:37 +0000 (18:00 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Oct 2000 18:00:37 +0000 (18:00 +0000)
(cross): ditto
(do-proto-toplev): ditto

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36713 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
Makefile.in

index b30246b..ba82e5a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-10-04  Andris Pavenis  <pavenis@latnet.lv>
+
+       * Makefile.in (bootstrap): avoid recursion if subdir missing
+       (cross): ditto
+       (do-proto-toplev): ditto
+
 2000-09-30  Alexandre Oliva  <aoliva@redhat.com>
 
        * Makefile.in (DEVO_SUPPORT): Added gettext.m4, libtool.m4,
index 0836bd5..ed03a5d 100644 (file)
@@ -1444,7 +1444,7 @@ bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean b
        s=`cd $(srcdir); pwd`; export s; \
        $(SET_LIB_PATH) \
        echo "Bootstrapping the compiler"; \
-       cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $@
+       cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
        @r=`pwd`; export r; \
        s=`cd $(srcdir); pwd`; export s; \
        case "$@" in \
@@ -1460,7 +1460,7 @@ bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean b
        esac; \
        $(SET_LIB_PATH) \
        echo "$$msg"; \
-       cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
+       cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
        @r=`pwd`; export r; \
        s=`cd $(srcdir); pwd` ; export s; \
        $(SET_LIB_PATH) \
@@ -1473,7 +1473,7 @@ cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
        s=`cd $(srcdir); pwd`; export s; \
        $(SET_LIB_PATH) \
        echo "Building the C and C++ compiler"; \
-       cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
+       cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
        @r=`pwd`; export r; \
        s=`cd $(srcdir); pwd` ; export s; \
        $(SET_LIB_PATH) \
@@ -1791,7 +1791,7 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
            fi ; \
          else ln -s ../$$d proto-toplev/$$d ; fi ; \
        done
-       cd etc ; $(MAKE) info
+       cd etc && $(MAKE) info
        $(MAKE) distclean
        #
        mkdir proto-toplev/etc