Skip to content

Commit 2acde6c

Browse files
committed
README.md: Better describe when maintainer-mode is necessary
As a libsigc++-3 tarball does not contain generated source code, maintainer-mode is not always necessary when you build with Meson from a tarball that was created by Autotools.
1 parent 754a114 commit 2acde6c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ files used by Autotools.
4848

4949
For instance:
5050
```sh
51-
# If the tarball was made with Autotools, you must enable maintainer-mode:
51+
# If the tarball was made with Autotools, and you want to rebuild the reference
52+
# documentation, you must enable maintainer-mode:
5253
$ meson --prefix=/usr/local --libdir=lib -Dmaintainer-mode=true your_builddir .
53-
# If the tarball was made with Meson:
54+
55+
# If the tarball was made with Meson, or you don't want to rebuild the docs:
5456
$ meson --prefix=/usr/local --libdir=lib your_builddir .
5557

56-
# then
58+
# then:
5759
$ cd your_builddir
5860
$ ninja
5961
$ ninja install
@@ -67,10 +69,11 @@ For instance:
6769
```sh
6870
# If the tarball was made with Autotools:
6971
$ ./configure --prefix=/usr/local
72+
7073
# If the tarball was made with Meson, you must enable maintainer-mode:
7174
$ ./autogen.sh --prefix=/usr/local
7275

73-
# then
76+
# then:
7477
$ make
7578
$ make install
7679
# You can build the examples and tests, and run the tests, like so:

0 commit comments

Comments
 (0)