Commit 9657f6f3 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

sdist: Include hadrian sources in source distribution

Previously the make build system's source distribution rules neglected
to include Hadrian's sources.

Fixes #18794.
parent 32dc7698
# 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 \
SRC_DIST_GHC_FILES += \ config.guess config.sub configure \
aclocal.m4 ANNOUNCE 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/
$(call removeFiles,$(SRC_DIST_GHC_DIR)/rts/rts.cabal)
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