Skip to content

Commit 2ef3e52

Browse files
committed
README.md, CI: meson -> meson setup
1 parent 550e91d commit 2ef3e52

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/meson-clang-10.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Install it with pip3 instead of apt.
2020
sudo pip3 install "meson>=0.55.0"
2121
export CXX=clang++-10
22-
meson -Dwarnings=fatal -Dwarning_level=3 -Dwerror=true _build
22+
meson setup -Dwarnings=fatal -Dwarning_level=3 -Dwerror=true _build
2323
cd _build
2424
meson compile
2525
- name: Test

.github/workflows/meson-gcc-10.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Install it with pip3 instead of apt.
2020
sudo pip3 install "meson>=0.55.0"
2121
export CXX=g++-10
22-
meson -Dwarnings=fatal -Dwarning_level=3 -Dwerror=true _build
22+
meson setup -Dwarnings=fatal -Dwarning_level=3 -Dwerror=true _build
2323
cd _build
2424
meson compile
2525
- name: Test

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
export ENV DEBIAN_FRONTEND=noninteractive
3939
sudo apt update
4040
sudo apt install libxml2-utils docbook5-xml docbook-xsl mm-common g++ meson ninja-build python3-setuptools python3-pip --yes
41-
meson -Dbuild-documentation=true -Dbuild-examples=false -Dbuild-tests=false _build
41+
meson setup -Dbuild-documentation=true -Dbuild-examples=false -Dbuild-tests=false _build
4242
meson compile -C _build
4343
- name: Collect Documentation
4444
# Collect all documentation to be published.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ For instance:
5454
```sh
5555
# If the tarball was made with Autotools, and you want to rebuild the reference
5656
# documentation, you must enable maintainer-mode:
57-
$ meson --prefix=/some_directory --libdir=lib -Dmaintainer-mode=true your_builddir .
57+
$ meson setup --prefix=/some_directory --libdir=lib -Dmaintainer-mode=true your_builddir .
5858

5959
# If the tarball was made with Meson, or you don't want to rebuild the docs:
60-
$ meson --prefix=/some_directory --libdir=lib your_builddir .
60+
$ meson setup --prefix=/some_directory --libdir=lib your_builddir .
6161

6262
# then:
6363
$ cd your_builddir
@@ -105,7 +105,7 @@ Don't call the builddir 'build'. There is a directory called 'build' with
105105
files used by Autotools.
106106

107107
```sh
108-
$ meson --prefix=/some_directory --libdir=lib your_builddir .
108+
$ meson setup --prefix=/some_directory --libdir=lib your_builddir .
109109
$ cd your_builddir
110110
$ ninja
111111
$ ninja install

0 commit comments

Comments
 (0)