diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-01-31 10:06:05 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-01-31 10:06:09 +0100 |
commit | 2d37ea5ca901e1c23f840c1a625d0dca3bbcf652 (patch) | |
tree | a05b6b6e8190c6f1199331d889d6d6298585ab9d | |
parent | Merge pull request #14712 from wlhlm/root-storage-daemons-docs-fix (diff) | |
download | systemd-2d37ea5ca901e1c23f840c1a625d0dca3bbcf652.tar.xz systemd-2d37ea5ca901e1c23f840c1a625d0dca3bbcf652.zip |
man: do not install man pages for systemd-repart if it is disabled
Closes #14716.
-rw-r--r-- | man/repart.d.xml | 2 | ||||
-rw-r--r-- | man/rules/meson.build | 4 | ||||
-rw-r--r-- | man/systemd-repart.xml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/man/repart.d.xml b/man/repart.d.xml index 2fe74193d3..4993608670 100644 --- a/man/repart.d.xml +++ b/man/repart.d.xml @@ -1,7 +1,7 @@ <?xml version='1.0'?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> -<refentry id="repart.d"> +<refentry id="repart.d" conditional='ENABLE_REPART'> <refentryinfo> <title>repart.d</title> diff --git a/man/rules/meson.build b/man/rules/meson.build index 4f132f03a9..0e6c3d8270 100644 --- a/man/rules/meson.build +++ b/man/rules/meson.build @@ -49,7 +49,7 @@ manpages = [ ['pam_systemd_home', '8', [], 'HAVE_PAM'], ['portablectl', '1', [], 'ENABLE_PORTABLED'], ['pstore.conf', '5', ['pstore.conf.d'], 'ENABLE_PSTORE'], - ['repart.d', '5', [], ''], + ['repart.d', '5', [], 'ENABLE_REPART'], ['resolvectl', '1', ['resolvconf'], 'ENABLE_RESOLVE'], ['resolved.conf', '5', ['resolved.conf.d'], 'ENABLE_RESOLVE'], ['runlevel', '8', [], ''], @@ -773,7 +773,7 @@ manpages = [ 'ENABLE_RANDOMSEED'], ['systemd-rc-local-generator', '8', [], ''], ['systemd-remount-fs.service', '8', ['systemd-remount-fs'], ''], - ['systemd-repart', '8', ['systemd-repart.service'], ''], + ['systemd-repart', '8', ['systemd-repart.service'], 'ENABLE_REPART'], ['systemd-resolved.service', '8', ['systemd-resolved'], 'ENABLE_RESOLVE'], ['systemd-rfkill.service', '8', diff --git a/man/systemd-repart.xml b/man/systemd-repart.xml index cffcb5403a..f55be4f328 100644 --- a/man/systemd-repart.xml +++ b/man/systemd-repart.xml @@ -3,7 +3,7 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <!-- SPDX-License-Identifier: LGPL-2.1+ --> -<refentry id="systemd-repart" +<refentry id="systemd-repart" conditional='ENABLE_REPART' xmlns:xi="http://www.w3.org/2001/XInclude"> <refentryinfo> |