summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-12-13 17:55:41 -0500
committerBen Gamari <ben@smart-cactus.org>2021-12-13 18:00:44 -0500
commit16d87d688e56bbd40a09a2caa7fab18dd54e42af (patch)
treee04b632b181703a8785e27100606254bec2f4366
parent401ddd5300c8be2ee03bf040146e7f2878bae0a9 (diff)
downloadhaskell-wip/T20802.tar.gz
hadrian: Include bash completion script in bindistwip/T20802
See #20802.
-rw-r--r--hadrian/src/Rules/BinaryDist.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/hadrian/src/Rules/BinaryDist.hs b/hadrian/src/Rules/BinaryDist.hs
index 914039d9e8..7db11dddd0 100644
--- a/hadrian/src/Rules/BinaryDist.hs
+++ b/hadrian/src/Rules/BinaryDist.hs
@@ -234,6 +234,11 @@ bindistRules = do
-- shipping it
removeFile (bindistFilesDir -/- mingwStamp)
+ -- Include bash-completion script in binary distributions. We don't
+ -- currently install this but merely include it for the user's
+ -- reference. See #20802.
+ copyDirectory ("utils" -/- "completion") bindistFilesDir
+
-- These scripts are only necessary in the configure/install
-- workflow which is not supported on windows.
-- TODO: Instead of guarding against windows, we could offer the