diff options
author | Paolo Capriotti <p.capriotti@gmail.com> | 2012-06-17 19:17:51 +0100 |
---|---|---|
committer | Paolo Capriotti <p.capriotti@gmail.com> | 2012-06-19 14:19:51 +0100 |
commit | 11ca8cdc3aa72c916f4645d4027974741a0d2c66 (patch) | |
tree | 129c1ea4a9b8184fb5d2fd6098d0b451a8239121 /utils/runghc/ghc.mk | |
parent | 42de5409e939b5a2bd9432875f85eb4091832fd8 (diff) | |
download | haskell-11ca8cdc3aa72c916f4645d4027974741a0d2c66.tar.gz |
Create versioned runghc wrapper (#5873)
Diffstat (limited to 'utils/runghc/ghc.mk')
-rw-r--r-- | utils/runghc/ghc.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/runghc/ghc.mk b/utils/runghc/ghc.mk index 8ec4e8d0b5..128987daf6 100644 --- a/utils/runghc/ghc.mk +++ b/utils/runghc/ghc.mk @@ -15,6 +15,7 @@ utils/runghc_dist-install_USES_CABAL = YES utils/runghc_dist-install_PROG = runghc$(exeext) utils/runghc_dist-install_SHELL_WRAPPER = YES utils/runghc_dist-install_INSTALL_SHELL_WRAPPER = YES +utils/runghc_dist-install_INSTALL_SHELL_WRAPPER_NAME = runghc-$(ProjectVersion) utils/runghc_dist-install_EXTRA_HC_OPTS = -cpp -DVERSION="\"$(ProjectVersion)\"" ifneq "$(BINDIST)" "YES" @@ -35,5 +36,7 @@ else install_runhaskell: $(call removeFiles,"$(DESTDIR)$(bindir)/runhaskell") $(LN_S) runghc "$(DESTDIR)$(bindir)/runhaskell" + $(call removeFiles,"$(DESTDIR)$(bindir)/runghc") + $(LN_S) runghc-$(ProjectVersion) "$(DESTDIR)$(bindir)/runghc" endif |