diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-12-13 17:55:41 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-01-13 14:50:13 -0500 |
commit | 66831b948f606f8ddb05f53bcbc5c55082bc598c (patch) | |
tree | 5b7dd8ab1d967bd5946f1db6cbf5a16f465870b5 | |
parent | 81a8f7a7daeb87db53d598ced4b303f8f320442f (diff) | |
download | haskell-66831b948f606f8ddb05f53bcbc5c55082bc598c.tar.gz |
hadrian: Include bash completion script in bindist
See #20802.
-rw-r--r-- | hadrian/src/Rules/BinaryDist.hs | 5 |
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 |