[commit: ghc] ghc-7.8: Individual sdist-foo targets (0d9de4c)
git at git.haskell.org
git at git.haskell.org
Thu Feb 27 00:04:13 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.8
Link : http://ghc.haskell.org/trac/ghc/changeset/0d9de4cb51701ad22888dc5603799996a3205573/ghc
>---------------------------------------------------------------
commit 0d9de4cb51701ad22888dc5603799996a3205573
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Fri Jan 31 23:31:30 2014 +0000
Individual sdist-foo targets
so that one can build a source distribution without downloading the
windows tarballs.
(cherry picked from commit 50e4d40f88c3eee41384efacfd83f73305e2210d)
>---------------------------------------------------------------
0d9de4cb51701ad22888dc5603799996a3205573
ghc.mk | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/ghc.mk b/ghc.mk
index 8b7b031..0b33547 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -1159,12 +1159,22 @@ sdist-testsuite-prep :
cd $(SRC_DIST_TESTSUITE_DIR)/testsuite && lndir $(TOP)/testsuite
$(call removeTrees,$(SRC_DIST_TESTSUITE_DIR)/testsuite/.git)
-.PHONY: sdist
-sdist : sdist-ghc-prep sdist-windows-tarballs-prep sdist-testsuite-prep
+.PHONY: sdist-ghc
+sdist-ghc: sdist-ghc-prep
cd $(SRC_DIST_GHC_ROOT) && "$(TAR_CMD)" chf - $(SRC_DIST_BASE_NAME) 2> src_ghc_log | bzip2 > $(TOP)/$(SRC_DIST_GHC_TARBALL)
+
+.PHONY: sdist-windows-tarballs
+sdist-windows-tarballs: sdist-windows-tarballs-prep
cd $(SRC_DIST_WINDOWS_TARBALLS_ROOT) && "$(TAR_CMD)" chf - $(SRC_DIST_BASE_NAME) 2> windows_extra_src_ghc_log | bzip2 > $(TOP)/$(SRC_DIST_WINDOWS_TARBALLS_TARBALL)
+
+.PHONY: sdist-testsuite
+sdist-testsuite: sdist-testsuite-prep
cd $(SRC_DIST_TESTSUITE_ROOT) && "$(TAR_CMD)" chf - $(SRC_DIST_BASE_NAME) 2> testsuite_log | bzip2 > $(TOP)/$(SRC_DIST_TESTSUITE_TARBALL)
+
+.PHONY: sdist
+sdist : sdist-ghc sdist-windows-tarballs sdist-testsuite
+
sdist-manifest : $(SRC_DIST_GHC_TARBALL)
tar tjf $(SRC_DIST_GHC_TARBALL) | sed "s|^ghc-$(ProjectVersion)/||" | sort >sdist-manifest
More information about the ghc-commits
mailing list