aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Quick-guide.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-05-03 18:27:29 +0300
committerGitHub <noreply@github.com>2017-05-03 18:27:29 +0300
commit2bb03f19fd9842d8c7966336ee967786f8edfbda (patch)
tree707f00e4b355d30c6d4d0de23e3364bf82b6c35d /docs/markdown/Quick-guide.md
parent33b79dcf2502420c0db806fece1b35c724366f40 (diff)
parent276d342ebaf859dd53e145ead3e98e2cebb360ab (diff)
downloadmeson-2bb03f19fd9842d8c7966336ee967786f8edfbda.zip
meson-2bb03f19fd9842d8c7966336ee967786f8edfbda.tar.gz
meson-2bb03f19fd9842d8c7966336ee967786f8edfbda.tar.bz2
Merge pull request #1725 from whot/master
documentation fixes
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.