summaryrefslogtreecommitdiff
path: root/ghc/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-08-10 13:39:25 +0000
committerIan Lynagh <igloo@earth.li>2008-08-10 13:39:25 +0000
commit6d0dd9aa562a9f96bf875b7260675609e1171b66 (patch)
tree02fe46e0d6384d23b222bf77e63e38a69133a393 /ghc/Makefile
parent2de31b61d0a963803eb5632c9659c6093d74f345 (diff)
downloadhaskell-6d0dd9aa562a9f96bf875b7260675609e1171b66.tar.gz
bindist fixes
Diffstat (limited to 'ghc/Makefile')
-rw-r--r--ghc/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/ghc/Makefile b/ghc/Makefile
index 894f2dfb3b..cb122413ec 100644
--- a/ghc/Makefile
+++ b/ghc/Makefile
@@ -119,16 +119,11 @@ build.stage.%:
install:
$(INSTALL_PACKAGE) install UNUSED UNUSED '$(DESTDIR)' '$(prefix)' \
'$(prefix)' '$(bindir)' '$(libdir)' \
- '$(libexecdir)' '$(dynlibdir)' '$(libdir)' \
+ '$(libexecdir)' '$(dynlibdir)' '$(datadir)' \
'$(docdir)' '$(htmldir)' '$(haddockdir)' \
--distpref dist-stage2 \
$(INSTALL_FLAGS)
-# XXX fix:
-#binary-dist:
-# $(INSTALL_DIR) $(BIN_DIST_DIR)/utils/hsc2hs
-# $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/utils/hsc2hs/
-# $(INSTALL_DATA) hsc2hs.sh $(BIN_DIST_DIR)/utils/hsc2hs/
-# $(INSTALL_DATA) $(INSTALL_DATAS) $(BIN_DIST_DIR)/utils/hsc2hs/
-# $(INSTALL_PROGRAM) $(HS_PROG) $(BIN_DIST_DIR)/utils/hsc2hs/
+include $(TOP)/mk/bindist.mk
+EXE_DIST_DIR = dist-stage$(stage)