summaryrefslogtreecommitdiff
path: root/rts/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-08-10 00:50:16 +0000
committerIan Lynagh <igloo@earth.li>2008-08-10 00:50:16 +0000
commit2de31b61d0a963803eb5632c9659c6093d74f345 (patch)
treef05ed698b42976a28f1db324033c4d9694e733bc /rts/Makefile
parent0f72a4c69215d1f81760aa0000ebbbfb2ac73303 (diff)
downloadhaskell-2de31b61d0a963803eb5632c9659c6093d74f345.tar.gz
bindists are now some way towards working
Diffstat (limited to 'rts/Makefile')
-rw-r--r--rts/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/rts/Makefile b/rts/Makefile
index 8ca69efc4c..09f5766dd4 100644
--- a/rts/Makefile
+++ b/rts/Makefile
@@ -468,13 +468,8 @@ endif
#
# binary-dist
-binary-dist:
- $(INSTALL_DIR) $(BIN_DIST_DIR)/rts
- $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/rts/
- $(INSTALL_DATA) package.conf.in $(BIN_DIST_DIR)/rts/
-ifneq "$(INSTALL_LIBS)" ""
- $(INSTALL_DATA) $(INSTALL_LIBS) $(BIN_DIST_DIR)/rts/
-endif
-ifneq "$(INSTALL_LIBEXECS)" ""
- $(INSTALL_PROGRAM) $(INSTALL_LIBEXECS) $(BIN_DIST_DIR)/rts/
-endif
+BINDIST_EXTRAS += package.conf.in
+BINDIST_EXTRAS += $(INSTALL_LIBS)
+BINDIST_EXTRAS += $(INSTALL_LIBEXECS)
+include $(TOP)/mk/bindist.mk
+