summaryrefslogtreecommitdiff
path: root/utils/runghc/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-06-01 19:06:59 +0000
committerIan Lynagh <igloo@earth.li>2007-06-01 19:06:59 +0000
commit79b5a2cb4b9ed5fe41a05fa2ec98bd1f83971daf (patch)
tree0c416a30476cbc2ebeaa8b3ada902587f123f0e5 /utils/runghc/Makefile
parent430453c5131592b6147a80202dc5f7fbe3f3d5fd (diff)
downloadhaskell-79b5a2cb4b9ed5fe41a05fa2ec98bd1f83971daf.tar.gz
Fix bindist creation
Bindists should now work again, when doing "make install" at least. "make in-place" is probably still broken.
Diffstat (limited to 'utils/runghc/Makefile')
-rw-r--r--utils/runghc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/runghc/Makefile b/utils/runghc/Makefile
index f210b004f3..1a176a084a 100644
--- a/utils/runghc/Makefile
+++ b/utils/runghc/Makefile
@@ -15,4 +15,9 @@ include $(GHC_COMPAT_DIR)/compat.mk
# we must also build with $(GhcHcOpts) here:
SRC_HC_OPTS += $(GhcHcOpts) $(GhcStage1HcOpts)
+binary-dist:
+ $(INSTALL_DIR) $(BIN_DIST_DIR)/utils/runghc
+ $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/utils/runghc/
+ $(INSTALL_PROGRAM) $(HS_PROG) $(BIN_DIST_DIR)/utils/runghc/
+
include $(TOP)/mk/target.mk