Skip to content

Commit d25fcbb

Browse files
authored
Mention add_dist_script in meson dist docs (mesonbuild#14186)
1 parent 248a721 commit d25fcbb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/markdown/Creating-releases.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Meson then takes this archive and tests that it works by doing a full
3131
`compile` + `test` + `install` cycle. If all these pass, Meson will
3232
then create a `SHA-256` checksum file next to the archive.
3333

34+
## Modifying the dist directory before creating the archive
35+
36+
Modification to the checked out files like generating files or
37+
setting version info can be done with dist scripts:
38+
```meson
39+
[[#meson.add_dist_script]]('distscript.sh')
40+
```
3441

3542
## Autotools dist VS Meson dist
3643

0 commit comments

Comments
 (0)