projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
document :source command for GHCi, point to Haskell wiki
[ghc-hetmet.git]
/
utils
/
prof
/
Makefile
diff --git
a/utils/prof/Makefile
b/utils/prof/Makefile
index
4401c63
..
aaedd74
100644
(file)
--- a/
utils/prof/Makefile
+++ b/
utils/prof/Makefile
@@
-15,7
+15,9
@@
all::
cat ghcprof.prl >> $(INPLACE_SCRIPT)
$(EXECUTABLE_FILE) $(INPLACE_SCRIPT)
cat ghcprof.prl >> $(INPLACE_SCRIPT)
$(EXECUTABLE_FILE) $(INPLACE_SCRIPT)
-INSTALLED_SCRIPT=$(bindir)/ghcprof
+CLEAN_FILES += ghcprof-inplace
+
+INSTALLED_SCRIPT=$(DESTDIR)$(bindir)/ghcprof
install::
$(RM) -f $(INSTALLED_SCRIPT)
echo '#!$(PERL)' >> $(INSTALLED_SCRIPT)
install::
$(RM) -f $(INSTALLED_SCRIPT)
echo '#!$(PERL)' >> $(INSTALLED_SCRIPT)