From 81f73963aee2efc167f67fe20340f62a9c4c4c92 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Wed, 20 Nov 1991 03:46:20 +0000 Subject: [PATCH] link as.new only if there is something to link to --- gas/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gas/Makefile.in b/gas/Makefile.in index 1a3401c461f..fe9a7df19d9 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -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 -- 2.30.2