diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-24 13:50:32 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-24 13:50:32 +0000 |
commit | cfa08d584984b4d1c2695bf373ccf0261d7bc5a9 (patch) | |
tree | e5970530315ba30acece9b049b107b65ae50e010 /Makefile | |
parent | 7ec2d9b9ae3e34b1533a90d433a530b949435952 (diff) | |
download | haskell-cfa08d584984b4d1c2695bf373ccf0261d7bc5a9.tar.gz |
Actually tar up Windows bindists
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -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 |