link as.new only if there is something to link to

This commit is contained in:
K. Richard Pixley 1991-11-20 03:46:20 +00:00
parent 8a400a1892
commit 81f73963ae

View File

@ -225,6 +225,8 @@ OBJS = \
# The real definition is under `all.internal'.
all: $(ALL)
all-info:
install-info:
fake-as: force
- rm -f ./as.new
@ -510,17 +512,17 @@ bootstrap3: force
stage1: force
-mkdir stage1
-mv $(STAGESTUFF) stage1
if [ ! -f stage1/as ] ; then (cd stage1 ; ln -s as.new as) ; fi
if [ -f stage1/as.new -a ! -f stage1/as ] ; then (cd stage1 ; ln -s as.new as) ; fi
stage2: force
-mkdir stage2
-mv $(STAGESTUFF) stage2
if [ ! -f stage2/as ] ; then (cd stage2 ; ln -s as.new as) ; fi
if [ -f stage2/as.new -a ! -f stage2/as ] ; then (cd stage2 ; ln -s as.new as) ; fi
stage3: force
-mkdir stage3
-mv $(STAGESTUFF) stage3
if [ ! -f stage3/as ] ; then (cd stage3 ; ln -s as.new as) ; fi
if [ -f stage3/as.new -a ! -f stage3/as ] ; then (cd stage3 ; ln -s as.new as) ; fi
against=stage2