diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-10-05 16:23:50 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-10-05 16:25:23 -0400 |
commit | 2ebf28c7517c9db7db47bf495c23aa589eacadc1 (patch) | |
tree | 13cae2c752df4951e730ab1ab3a90bba2d3c027a | |
parent | 70dc2f09a33a4c3f485d8b63e92a21955643a0b7 (diff) | |
download | haskell-2ebf28c7517c9db7db47bf495c23aa589eacadc1.tar.gz |
sdist: Include hadrian sources in source distributionwip/T18794
Previously the make build system's source distribution rules neglected
to include Hadrian's sources.
Fixes #18794.
-rw-r--r-- | ghc.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1173,7 +1173,8 @@ SRC_DIST_TESTSUITE_TARBALL = $(SRC_DIST_ROOT)/$(SRC_DIST_TESTSUITE_NAME). # Files to include in source distributions # SRC_DIST_GHC_DIRS = mk rules docs distrib bindisttest libffi includes \ - utils docs rts compiler ghc driver libraries libffi-tarballs + utils docs rts compiler ghc driver libraries libffi-tarballs \ + hadrian SRC_DIST_GHC_FILES += \ configure.ac config.guess config.sub configure \ aclocal.m4 README.md ANNOUNCE HACKING.md INSTALL.md LICENSE Makefile \ @@ -1214,6 +1215,7 @@ sdist-ghc-prep-tree : cd $(SRC_DIST_GHC_DIR) && $(MAKE) distclean $(call removeTrees,$(SRC_DIST_GHC_DIR)/libraries/tarballs/) $(call removeTrees,$(SRC_DIST_GHC_DIR)/libraries/stamp/) + $(call removeTrees,$(SRC_DIST_GHC_DIR)/hadrian/_build/ (SRC_DIST_GHC_DIR)/hadrian/dist-newstyle/) $(call removeTrees,$(SRC_DIST_GHC_DIR)/compiler/stage[123]) $(call removeFiles,$(SRC_DIST_GHC_DIR)/mk/build.mk) $(call removeFiles,$(SRC_DIST_GHC_DIR)/rts/rts.cabal) |