X Tutup
Skip to content

Commit 2d37ea5

Browse files
committed
man: do not install man pages for systemd-repart if it is disabled
Closes systemd#14716.
1 parent 80d4899 commit 2d37ea5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

man/repart.d.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0'?>
22
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
33
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4-
<refentry id="repart.d">
4+
<refentry id="repart.d" conditional='ENABLE_REPART'>
55

66
<refentryinfo>
77
<title>repart.d</title>

man/rules/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ manpages = [
4949
['pam_systemd_home', '8', [], 'HAVE_PAM'],
5050
['portablectl', '1', [], 'ENABLE_PORTABLED'],
5151
['pstore.conf', '5', ['pstore.conf.d'], 'ENABLE_PSTORE'],
52-
['repart.d', '5', [], ''],
52+
['repart.d', '5', [], 'ENABLE_REPART'],
5353
['resolvectl', '1', ['resolvconf'], 'ENABLE_RESOLVE'],
5454
['resolved.conf', '5', ['resolved.conf.d'], 'ENABLE_RESOLVE'],
5555
['runlevel', '8', [], ''],
@@ -773,7 +773,7 @@ manpages = [
773773
'ENABLE_RANDOMSEED'],
774774
['systemd-rc-local-generator', '8', [], ''],
775775
['systemd-remount-fs.service', '8', ['systemd-remount-fs'], ''],
776-
['systemd-repart', '8', ['systemd-repart.service'], ''],
776+
['systemd-repart', '8', ['systemd-repart.service'], 'ENABLE_REPART'],
777777
['systemd-resolved.service', '8', ['systemd-resolved'], 'ENABLE_RESOLVE'],
778778
['systemd-rfkill.service',
779779
'8',

man/systemd-repart.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
44
<!-- SPDX-License-Identifier: LGPL-2.1+ -->
55

6-
<refentry id="systemd-repart"
6+
<refentry id="systemd-repart" conditional='ENABLE_REPART'
77
xmlns:xi="http://www.w3.org/2001/XInclude">
88

99
<refentryinfo>

0 commit comments

Comments
 (0)
X Tutup