diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2014-01-31 23:31:30 +0000 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2014-01-31 23:31:30 +0000 |
commit | 50e4d40f88c3eee41384efacfd83f73305e2210d (patch) | |
tree | 50d3b1c6720edeebf5c4eb28ccb0a74e472edbb1 /ghc.mk | |
parent | 71a412c2aaf798dad769d7d39f3914c15b34950a (diff) | |
download | haskell-50e4d40f88c3eee41384efacfd83f73305e2210d.tar.gz |
Individual sdist-foo targets
so that one can build a source distribution without downloading the
windows tarballs.
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1154,12 +1154,22 @@ sdist-testsuite-prep : mkdir $(SRC_DIST_TESTSUITE_DIR)/testsuite cd $(SRC_DIST_TESTSUITE_DIR)/testsuite && lndir $(TOP)/testsuite -.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 |