X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=driver%2Fghc%2FMakefile;h=66a8d2ba10a496576e08ef8d602fd7b499fb73e3;hb=305eb36d92e373eb3cd4803ee89c2cc8f23a5fc0;hp=3b481ec44a732486be4feaf006fa60378aa68aa5;hpb=79b5a2cb4b9ed5fe41a05fa2ec98bd1f83971daf;p=ghc-hetmet.git diff --git a/driver/ghc/Makefile b/driver/ghc/Makefile index 3b481ec..66a8d2b 100644 --- a/driver/ghc/Makefile +++ b/driver/ghc/Makefile @@ -11,7 +11,7 @@ include $(TOP)/mk/boilerplate.mk ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32" LINK = ghc LINK_TARGET = $(LINK)-$(ProjectVersion) -INSTALLED_SCRIPT=$(bindir)/$(LINK_TARGET) +INSTALLED_SCRIPT=$(DESTDIR)$(bindir)/$(LINK_TARGET) install:: $(RM) -f $(INSTALLED_SCRIPT) echo "#!$(SHELL)" >> $(INSTALLED_SCRIPT)