From e8275a4f4706e544df8624c2b6b469afaf05a8a5 Mon Sep 17 00:00:00 2001 From: simonm Date: Mon, 13 Oct 1997 09:44:11 +0000 Subject: [PATCH] [project @ 1997-10-13 09:44:11 by simonm] do the symlink thing when installing, not in the local tree. --- distrib/Makefile-bin.in | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/distrib/Makefile-bin.in b/distrib/Makefile-bin.in index f7775e2..5793879 100644 --- a/distrib/Makefile-bin.in +++ b/distrib/Makefile-bin.in @@ -178,15 +178,11 @@ config-pkgs :: mk-version-symlinks :: - @for i in $(VERSION_SYMLINKS_FOR) ""; do \ - if [ "x$$i" != "x" ]; then \ - echo "Symlinking $$i to $$i-$(version)"; \ - (cd bin/$(platform)/$(package)-$(version); \ - $(RM) $$i-$(version); \ - $(MV) $$i $$i-$(version); \ - $(LN_S) $$i-$(version) $$i \ - ); \ - fi; \ + @for i in $(VERSION_SYMLINKS_FOR) ""; do \ + if [ "x$$i" != "x" ]; then \ + echo "Symlinking $$i to $$i-$(version)"; \ + (cd bin/$(platform)/$(package)-$(version); $(RM) $$i-$(version); $(LN_S) $$i $$i-$(version) ); \ + fi;\ done in-place :: @@ -208,9 +204,13 @@ install-bin: $(INSTALL_BIN) bin/$(platform)/$(package)-$(version)/$$i $(bindir); \ done; for i in $(VERSION_SYMLINKS_FOR) ""; do \ - if [ "x$$i" != "x" ]; then \ - ( cd $(bindir); $(LN_S) $$i $$i-$(version) ); \ - fi; \ + if [ "x$$i" != "x" ]; then \ + ( cd $(bindir); \ + $(RM) $$i-$(version); \ + $(MV) $$i $$i-$(version); \ + $(LN_S) $$i-$(version) $$i \ + ); \ + fi; \ done -- 1.7.10.4