diff options
author | Oto Šťáva <oto.stava@nic.cz> | 2024-05-16 14:17:12 +0200 |
---|---|---|
committer | Oto Šťáva <oto.stava@nic.cz> | 2024-05-29 16:50:08 +0200 |
commit | a19819f63142825fbe93ae481cc0bc08fb004eaf (patch) | |
tree | 95867953150ea0bdfdc1efab39e0717582b49af0 /doc | |
parent | Merge branch 'pkg-v6-update' into 'master' (diff) | |
download | knot-resolver-a19819f63142825fbe93ae481cc0bc08fb004eaf.tar.xz knot-resolver-a19819f63142825fbe93ae481cc0bc08fb004eaf.zip |
manager: configurable Meson directory
This commit makes it more convenient to change the configuration of the
build directory of `kresd` when using Knot Resolver Manager. It adds a
new `./poe configure` command, which optionally takes the same arguments
as the standard `meson configure` command.
The `./poe run` command now requires running `./poe configure` at least
once to set up the build directory. If the directory has been configured
before this commit (i.e. `./poe run` has been executed at least once),
no extra action is required, as the directory structure remains the
same.
The commit also removes the `manager` configuration option from Meson as
we were not using it and it was broken and potentially confusing to
newcomers.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dev/build.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/dev/build.rst b/doc/dev/build.rst index b6bfd9f4..8a08ed4f 100644 --- a/doc/dev/build.rst +++ b/doc/dev/build.rst @@ -168,7 +168,7 @@ You can also configure some :ref:`build-options`, in this case enable ``manager` .. code-block:: bash - $ meson build_dir --prefix=/tmp/kr --default-library=static -Dmanager=enabled + $ meson build_dir --prefix=/tmp/kr After that it is possible to build and install Knot Resolver. @@ -275,7 +275,6 @@ Recommended build options for packagers: * ``-Dsystemd_files=enabled`` for systemd unit files * ``-Ddoc=enabled`` for offline documentation (see :ref:`build-html-doc`) * ``-Dinstall_kresd_conf=enabled`` to install default config file -* ``-Dmanager=enabled`` to force build of the manager and its features * ``-Dunit_tests=enabled`` to force build of unit tests Systemd |