aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Quick-guide.md
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-05-03 13:34:48 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-05-03 21:00:36 +1000
commit276d342ebaf859dd53e145ead3e98e2cebb360ab (patch)
treeb1fc9f5e62bd4a53a2eea9ee9f9b37a3fab805c1 /docs/markdown/Quick-guide.md
parent7ec6e6df2013aa65f99e0183c9d36b3ef3b7ab0e (diff)
downloadmeson-276d342ebaf859dd53e145ead3e98e2cebb360ab.zip
meson-276d342ebaf859dd53e145ead3e98e2cebb360ab.tar.gz
meson-276d342ebaf859dd53e145ead3e98e2cebb360ab.tar.bz2
docs: replace 'meson build' with 'meson builddir'
Clarifies that this is really just a directory, not a command. https://github.com/mesonbuild/meson/issues/1560
Diffstat (limited to 'docs/markdown/Quick-guide.md')
-rw-r--r--docs/markdown/Quick-guide.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/markdown/Quick-guide.md b/docs/markdown/Quick-guide.md
index 3966084..600120e 100644
--- a/docs/markdown/Quick-guide.md
+++ b/docs/markdown/Quick-guide.md
@@ -40,7 +40,7 @@ The most common use case of Meson is compiling code on a code base you are worki
```console
$ cd /path/to/source/root
-$ meson build && cd build
+$ meson builddir && cd builddir
$ ninja
$ ninja test
```
@@ -58,10 +58,10 @@ Distro packagers usually want total control on the build flags used. Meson suppo
```console
$ cd /path/to/source/root
-$ CFLAGS=... CXXFLAGS=... LDFLAGS=.. meson --prefix /usr --buildtype=plain build
-$ ninja -v -C build
-$ ninja -C build test
-$ DESTDIR=/path/to/staging/root ninja -C build install
+$ CFLAGS=... CXXFLAGS=... LDFLAGS=.. meson --prefix /usr --buildtype=plain builddir
+$ ninja -v -C builddir
+$ ninja -C builddir test
+$ DESTDIR=/path/to/staging/root ninja -C builddir install
````
The command line switch `--buildtype=plain` tells Meson not to add its own flags to the command line. This gives the packager total control on used flags.