2 include $(TOP)/mk/boilerplate.mk
4 ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
5 C_PROG = ghc-$(ProjectVersion)$(exeext)
6 INSTALL_PROGS += $(C_PROG)
8 SCRIPT_DIR = $(DESTDIR)$(bindir)
10 SCRIPT_VERSIONED_BASE = $(SCRIPT_BASE)-$(ProjectVersion)
11 SCRIPT = $(SCRIPT_DIR)/$(SCRIPT_BASE)
12 SCRIPT_VERSIONED = $(SCRIPT_DIR)/$(SCRIPT_VERSIONED_BASE)
15 mv $(SCRIPT) $(SCRIPT_VERSIONED)
16 ln -s $(SCRIPT_VERSIONED_BASE) $(SCRIPT)
19 include $(TOP)/mk/bindist.mk
21 include $(TOP)/mk/target.mk