diff options
author | Ian Lynagh <igloo@earth.li> | 2009-02-17 21:50:48 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-02-17 21:50:48 +0000 |
commit | 2719d1e57ba9524b3acdb2b270508704f6306137 (patch) | |
tree | 276dff242e4e74e5ec2543b454590448e8ffbf5f /driver/ghc/Makefile | |
parent | 0bc0144c2b982da47af56037bd2e3eac84e9560e (diff) | |
download | haskell-2719d1e57ba9524b3acdb2b270508704f6306137.tar.gz |
Make versioned ghc and ghci programs on Windows; fixes trac #2827
Diffstat (limited to 'driver/ghc/Makefile')
-rw-r--r-- | driver/ghc/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/driver/ghc/Makefile b/driver/ghc/Makefile index 4eeb3f96ca..55167ecf9b 100644 --- a/driver/ghc/Makefile +++ b/driver/ghc/Makefile @@ -1,7 +1,10 @@ TOP=../.. include $(TOP)/mk/boilerplate.mk -ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +C_PROG = ghc-$(ProjectVersion) +INSTALL_PROGS += $(C_PROG) +else SCRIPT_DIR = $(DESTDIR)$(bindir) SCRIPT_BASE = ghc SCRIPT_VERSIONED_BASE = $(SCRIPT_BASE)-$(ProjectVersion) |