From: simonmar Date: Thu, 29 Mar 2001 10:45:58 +0000 (+0000) Subject: [project @ 2001-03-29 10:45:58 by simonmar] X-Git-Tag: Approximately_9120_patches~2256 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=8d7761668ffd623004fab46f7c7b40a4e35cdab5 [project @ 2001-03-29 10:45:58 by simonmar] allow VERSION_SYMLINKS_FOR to be configured --- diff --git a/distrib/Makefile-bin.in b/distrib/Makefile-bin.in index f5baedd..5c7b22a 100644 --- a/distrib/Makefile-bin.in +++ b/distrib/Makefile-bin.in @@ -91,7 +91,7 @@ INSTALL_DIR = ./mkdirhier # to be created, i.e., create a symlink, ghc-$(version), pointing to ghc to # avoid version vertigo. # -VERSION_SYMLINKS_FOR=$(package) +VERSION_SYMLINKS_FOR=$(PACKAGE_LINKS) # Binaries to install PACKAGE_BIN_INSTALL=$(PACKAGE_PRL_SCRIPTS) $(PACKAGE_SH_SCRIPTS) @@ -195,7 +195,7 @@ install-bin: for i in $(PACKAGE_BINS) ""; do \ if test -n "$$i" ; then $(INSTALL_BIN) bin/$(platform)/$$i$(exeext) $(bindir); fi; \ done; - for i in $(VERSION_SYMLINKS_FOR) ""; do \ + @for i in $(VERSION_SYMLINKS_FOR) ""; do \ if [ "x$$i" != "x" ]; then \ ( cd $(bindir); \ if ( $(PERL) -e '$$fn="'$$i'"; exit ((! -f $$fn || -l $$fn) ? 0 : 1);' ); then \