summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>2025-01-30 00:05:58 +0100
committerGitHub <noreply@github.com>2025-01-30 01:05:58 +0200
commitd25fcbb5fc733c2a4cb01b79566e64b84736367d (patch)
treeb7e5a6ba28fc2714d921fc38a66b1c0e3703c671
parent248a7213f60344bf53b17d97559666be1fa9a9bb (diff)
downloadmeson-d25fcbb5fc733c2a4cb01b79566e64b84736367d.tar.gz
Mention add_dist_script in meson dist docs (#14186)
-rw-r--r--docs/markdown/Creating-releases.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Creating-releases.md b/docs/markdown/Creating-releases.md
index e0c80af5b..44c127eec 100644
--- a/docs/markdown/Creating-releases.md
+++ b/docs/markdown/Creating-releases.md
@@ -31,6 +31,13 @@ Meson then takes this archive and tests that it works by doing a full
`compile` + `test` + `install` cycle. If all these pass, Meson will
then create a `SHA-256` checksum file next to the archive.
+## Modifying the dist directory before creating the archive
+
+Modification to the checked out files like generating files or
+setting version info can be done with dist scripts:
+```meson
+[[#meson.add_dist_script]]('distscript.sh')
+```
## Autotools dist VS Meson dist