Commit f559be1f authored by Ian Lynagh's avatar Ian Lynagh

Reinstate the driver/ghc directory, to create a versioned GHC program

e.g. $(bindir)/ghc-6.9.20080911
parent ddd3c15b
......@@ -72,7 +72,7 @@ else
SUBDIRS_BUILD = includes utils driver docs compiler libraries/Cabal/doc
endif
SUBDIRS = gmp libffi includes utils driver docs rts compiler ghc libraries libraries/Cabal/doc
SUBDIRS = gmp libffi includes utils docs rts compiler ghc driver libraries libraries/Cabal/doc
check-all: check-packages
......
......@@ -7,7 +7,7 @@
TOP=..
include $(TOP)/mk/boilerplate.mk
SUBDIRS = mangler split ghci
SUBDIRS = mangler split ghc ghci
INPLACE_PKG_CONF = $(INPLACE_DATA_DIR)/package.conf
# Used to signal that we are inplace, as opposed to installed:
......
TOP=../..
include $(TOP)/mk/boilerplate.mk
ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
SCRIPT_DIR = $(DESTDIR)$(bindir)
SCRIPT_BASE = ghc
SCRIPT_VERSIONED_BASE = $(SCRIPT_BASE)-$(ProjectVersion)
SCRIPT = $(SCRIPT_DIR)/$(SCRIPT_BASE)
SCRIPT_VERSIONED = $(SCRIPT_DIR)/$(SCRIPT_VERSIONED_BASE)
install::
mv $(SCRIPT) $(SCRIPT_VERSIONED)
ln -s $(SCRIPT_VERSIONED_BASE) $(SCRIPT)
endif
include $(TOP)/mk/bindist.mk
include $(TOP)/mk/target.mk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment