[commit: ghc] ghc-7.8: Fix installation of hpc (#8735) (a3e3afc)
git at git.haskell.org
git at git.haskell.org
Mon Feb 17 10:26:33 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.8
Link : http://ghc.haskell.org/trac/ghc/changeset/a3e3afc73dfef7bfc038b88904f04b0fb4fec729/ghc
>---------------------------------------------------------------
commit a3e3afc73dfef7bfc038b88904f04b0fb4fec729
Author: Austin Seipp <austin at well-typed.com>
Date: Thu Feb 13 07:19:39 2014 -0600
Fix installation of hpc (#8735)
Signed-off-by: Austin Seipp <austin at well-typed.com>
(cherry picked from commit a365eabd465a1700f479f78ad99fc1a31915e639)
>---------------------------------------------------------------
a3e3afc73dfef7bfc038b88904f04b0fb4fec729
utils/hpc/ghc.mk | 3 +++
utils/hpc/hpc.wrapper | 2 ++
2 files changed, 5 insertions(+)
diff --git a/utils/hpc/ghc.mk b/utils/hpc/ghc.mk
index 7280729..f70be94 100644
--- a/utils/hpc/ghc.mk
+++ b/utils/hpc/ghc.mk
@@ -15,4 +15,7 @@ utils/hpc_PACKAGE = hpc-bin
utils/hpc_dist-install_INSTALL = YES
utils/hpc_dist-install_INSTALL_INPLACE = YES
utils/hpc_dist-install_PROGNAME = hpc
+utils/hpc_dist-install_SHELL_WRAPPER = YES
+utils/hpc_dist-install_INSTALL_SHELL_WRAPPER_NAME = hpc
+
$(eval $(call build-prog,utils/hpc,dist-install,1))
diff --git a/utils/hpc/hpc.wrapper b/utils/hpc/hpc.wrapper
new file mode 100644
index 0000000..22982ef
--- /dev/null
+++ b/utils/hpc/hpc.wrapper
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec "$executablename" ${1+"$@"}
More information about the ghc-commits
mailing list