i3/meson/meson-dist-script
Emeric Planet 9dc5230000
Update meson setup command to remove warning (#6338)
This is a very easy fix, to remove the following warning:
```
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
```
The fix is to just run `meson setup` instead and it works like a charm.

Related PRs: i3/i3lock#365 and i3/i3status#538.
2024-12-29 19:50:09 +01:00

37 lines
705 B
Bash
Executable File

#!/bin/sh
set -eu
cd "${MESON_DIST_ROOT}"
# Delete everything we do not want to have in the release tarballs:
rm -rf \
contrib/banner.svg \
contrib/show-download-count.sh \
contrib/sticker-7x5cm-stickma.tif.lzma \
contrib/sticker_stickma_black.svg \
debian/ \
docs/GPN-2009-06-27/ \
docs/NoName-2009-03-12/ \
docs/slides-2012-01-25/ \
docs/slides-2012-03-16/ \
testcases/.gitignore \
travis/ \
.clang-format \
.editorconfig \
i3bar/.gitignore \
.travis.yml \
logo.svg \
README.md \
RELEASE-NOTES-next \
release.sh
mkdir build
cd build
meson setup -Dprefix=/usr -Ddocs=true -Dmans=true
ninja
cp *.1 ../man/
cp *.html ../docs/
cd ..
rm -rf build