projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7828bf3
)
Inplace programs depend on their shell wrappers
author
Ian Lynagh
<igloo@earth.li>
Tue, 27 Apr 2010 16:00:38 +0000
(16:00 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 27 Apr 2010 16:00:38 +0000
(16:00 +0000)
rules/shell-wrapper.mk
patch
|
blob
|
history
diff --git
a/rules/shell-wrapper.mk
b/rules/shell-wrapper.mk
index
d2ff84d
..
5df9ff2
100644
(file)
--- a/
rules/shell-wrapper.mk
+++ b/
rules/shell-wrapper.mk
@@
-33,7
+33,7
@@
ifneq "$$($1_$2_INSTALL_INPLACE)" "NO"
all_$1_$2 : $$(INPLACE_BIN)/$$($1_$2_PROG)
$$(INPLACE_BIN)/$$($1_$2_PROG): WRAPPER=$$@
-$$(INPLACE_BIN)/$$($1_$2_PROG): $$($1_$2_INPLACE)
+$$(INPLACE_BIN)/$$($1_$2_PROG): $$($1_$2_INPLACE) $$($1_$2_SHELL_WRAPPER_NAME)
"$$(RM)" $$(RM_OPTS) $$@
echo '#!$$(SHELL)' >> $$@
echo 'executablename="$$(TOP)/$$<"' >> $$@