summaryrefslogtreecommitdiff
path: root/rules/shell-wrapper.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-09-27 14:35:05 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-01 21:36:53 +0100
commitd106284b4018efeb1f3cf2249a4a713539150376 (patch)
tree2bceded334cf8aa6d9bd8efe08910d10fbec4d62 /rules/shell-wrapper.mk
parent29f6b87fab42f94b8b5955350f5df800e2dd7b30 (diff)
downloadhaskell-d106284b4018efeb1f3cf2249a4a713539150376.tar.gz
Put libexec binaries in lib/bin/ rather than just lib/
Some binaries are installed in lib/, so if we wanted them to have a shell wrapper then under the old scheme both the binary and the wrapper would be installed under lib/. Now the binary is put under lib/bin/, leaving lib/ for the wrapper.
Diffstat (limited to 'rules/shell-wrapper.mk')
-rw-r--r--rules/shell-wrapper.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/shell-wrapper.mk b/rules/shell-wrapper.mk
index 1fab27f0c4..6601e3cb05 100644
--- a/rules/shell-wrapper.mk
+++ b/rules/shell-wrapper.mk
@@ -59,7 +59,7 @@ install_$1_$2_wrapper:
$$(call removeFiles, "$$(WRAPPER)")
$$(CREATE_SCRIPT) "$$(WRAPPER)"
echo '#!$$(SHELL)' >> "$$(WRAPPER)"
- echo 'exedir="$$(ghclibexecdir)"' >> "$$(WRAPPER)"
+ echo 'exedir="$$(ghclibexecdir)/bin"' >> "$$(WRAPPER)"
echo 'exeprog="$$($1_$2_PROG)"' >> "$$(WRAPPER)"
echo 'executablename="$$$$exedir/$$$$exeprog"' >> "$$(WRAPPER)"
echo 'datadir="$$(datadir)"' >> "$$(WRAPPER)"