Commit cfa08d58 authored by Ian Lynagh's avatar Ian Lynagh

Actually tar up Windows bindists

parent 7ec2d9b9
......@@ -299,6 +299,14 @@ binary-dist::
$(MKDIRHIER) $(BIN_DIST_DIR)/icons
cp distrib/hsicon.ico $(BIN_DIST_DIR)/icons
# Tar up the distribution and build a manifest
binary-dist :: tar-binary-dist
.PHONY: tar-binary-dist
tar-binary-dist:
( cd $(BIN_DIST_TOPDIR_ABS); tar cf - $(BIN_DIST_NAME) | bzip2 > $(BIN_DIST_TARBALL) )
( cd $(BIN_DIST_TOPDIR_ABS); bunzip2 -c $(BIN_DIST_TARBALL) | tar tf - | sed "s/^ghc-$(ProjectVersion)/fptools/" | sort >$(FPTOOLS_TOP_ABS)/bin-manifest-$(ProjectVersion) )
else
.PHONY: binary-dist
......@@ -397,15 +405,6 @@ endif
tar tf $(BIN_DIST_TAR) | sort > bin-manifest-$(ProjectVersion)
endif
# XXX Presumably we still need to do this for Windows?
## Tar up the distribution and build a manifest
#binary-dist :: tar-binary-dist
#
#.PHONY: tar-binary-dist
#tar-binary-dist:
# ( cd $(BIN_DIST_TOPDIR_ABS); tar cf - $(BIN_DIST_NAME) | bzip2 >$(BIN_DIST_TARBALL) )
# ( cd $(BIN_DIST_TOPDIR_ABS); bunzip2 -c $(BIN_DIST_TARBALL) | tar tf - | sed "s/^ghc-$(ProjectVersion)/fptools/" | sort >$(FPTOOLS_TOP_ABS)/bin-manifest-$(ProjectVersion) )
PUBLISH_FILES = $(BIN_DIST_TARBALL)
# Upload the distribution and documentation
......
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