From 522c01ec96b762459844259d7e728dc4f488e980 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 25 Dec 2000 05:35:49 +0000 Subject: [PATCH] Fix problem remaking symbolic links. --- v7/src/edwin/Makefile.in | 8 +++++--- v7/src/runtime/Makefile.in | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/v7/src/edwin/Makefile.in b/v7/src/edwin/Makefile.in index 952e870f4..59c77275b 100644 --- a/v7/src/edwin/Makefile.in +++ b/v7/src/edwin/Makefile.in @@ -1,4 +1,4 @@ -# $Id: Makefile.in,v 1.1 2000/12/21 18:12:15 cph Exp $ +# $Id: Makefile.in,v 1.2 2000/12/25 05:35:49 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -84,8 +84,10 @@ install: @for FN in $(EDOPTS); do \ echo "$(INSTALL_DATA) $${FN}.com $(DESTDIR)$(EODIR)/.";\ $(INSTALL_DATA) $${FN}.com $(DESTDIR)$(EODIR)/.;\ - echo "( cd $(DESTDIR)$(EODIR); $(LN_S) ../../SRC/edwin/$${FN}.bci . )";\ - ( cd $(DESTDIR)$(EODIR); $(LN_S) ../../SRC/edwin/$${FN}.bci . );\ + done + @for FN in $(EDOPTS); do \ + echo "( cd $(DESTDIR)$(EODIR); rm -f $${FN}.bci; $(LN_S) ../../SRC/edwin/$${FN}.bci . )";\ + ( cd $(DESTDIR)$(EODIR); rm -f $${FN}.bci; $(LN_S) ../../SRC/edwin/$${FN}.bci . );\ done .PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS install diff --git a/v7/src/runtime/Makefile.in b/v7/src/runtime/Makefile.in index fec17d264..2ce72025a 100644 --- a/v7/src/runtime/Makefile.in +++ b/v7/src/runtime/Makefile.in @@ -1,4 +1,4 @@ -# $Id: Makefile.in,v 1.1 2000/12/21 18:11:43 cph Exp $ +# $Id: Makefile.in,v 1.2 2000/12/25 05:35:15 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -82,8 +82,10 @@ install: @for FN in $(RUNOPTS); do \ echo "$(INSTALL_DATA) $${FN}.com $(DESTDIR)$(RODIR)/.";\ $(INSTALL_DATA) $${FN}.com $(DESTDIR)$(RODIR)/.;\ - echo "( cd $(DESTDIR)$(RODIR); $(LN_S) ../SRC/runtime/$${FN}.bci . )";\ - ( cd $(DESTDIR)$(RODIR); $(LN_S) ../SRC/runtime/$${FN}.bci . );\ + done + @for FN in $(RUNOPTS); do \ + echo "( cd $(DESTDIR)$(RODIR); rm -f $${FN}.bci; $(LN_S) ../SRC/runtime/$${FN}.bci . )";\ + ( cd $(DESTDIR)$(RODIR); rm -f $${FN}.bci; $(LN_S) ../SRC/runtime/$${FN}.bci . );\ done .PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS install -- 2.25.1