X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=driver%2Fghci%2FMakefile;fp=driver%2Fghci%2FMakefile;h=c3fad1541bb6dff94c798def9dc1b0841c85bad6;hp=ac6d3834fc5094179965eae2048cee7875b19057;hb=7ef211e8d6aed14f77b344d976e207bc77e365a7;hpb=21afd63e4f61184acfc7e196f123861fa591df59 diff --git a/driver/ghci/Makefile b/driver/ghci/Makefile index ac6d383..c3fad15 100644 --- a/driver/ghci/Makefile +++ b/driver/ghci/Makefile @@ -25,7 +25,7 @@ install:: else LINK = ghci LINK_TARGET = $(LINK)-$(ProjectVersion) -INSTALLED_SCRIPT=$(bindir)/$(LINK_TARGET) +INSTALLED_SCRIPT=$(DESTDIR)$(bindir)/$(LINK_TARGET) install:: $(RM) -f $(INSTALLED_SCRIPT) echo "#!$(SHELL)" >> $(INSTALLED_SCRIPT)