X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fprof%2FMakefile;h=0db52a2a67bc4b6c88b6e854cfec3735d160e38a;hb=9259deb86455a17c05ea7ba982f7d400ac69e3f6;hp=4401c630a39b134da5ad71657165fd81de84cab6;hpb=79b5a2cb4b9ed5fe41a05fa2ec98bd1f83971daf;p=ghc-hetmet.git diff --git a/utils/prof/Makefile b/utils/prof/Makefile index 4401c63..0db52a2 100644 --- a/utils/prof/Makefile +++ b/utils/prof/Makefile @@ -15,7 +15,7 @@ all:: cat ghcprof.prl >> $(INPLACE_SCRIPT) $(EXECUTABLE_FILE) $(INPLACE_SCRIPT) -INSTALLED_SCRIPT=$(bindir)/ghcprof +INSTALLED_SCRIPT=$(DESTDIR)$(bindir)/ghcprof install:: $(RM) -f $(INSTALLED_SCRIPT) echo '#!$(PERL)' >> $(INSTALLED_SCRIPT)