summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile-man.am17
-rw-r--r--man/systemd-networkd.service.xml2
2 files changed, 12 insertions, 7 deletions
diff --git a/Makefile-man.am b/Makefile-man.am
index 6239651b0e..1a24e6b29f 100644
--- a/Makefile-man.am
+++ b/Makefile-man.am
@@ -62,7 +62,6 @@ MANPAGES += \
man/systemd-initctl.service.8 \
man/systemd-journald.service.8 \
man/systemd-machine-id-setup.1 \
- man/systemd-networkd.service.8 \
man/systemd-notify.1 \
man/systemd-nspawn.1 \
man/systemd-remount-fs.service.8 \
@@ -187,7 +186,6 @@ MANPAGES_ALIAS += \
man/systemd-journald.8 \
man/systemd-journald.socket.8 \
man/systemd-kexec.service.8 \
- man/systemd-networkd.8 \
man/systemd-poweroff.service.8 \
man/systemd-reboot.service.8 \
man/systemd-remount-fs.8 \
@@ -289,7 +287,6 @@ man/systemd-initctl.socket.8: man/systemd-initctl.service.8
man/systemd-journald.8: man/systemd-journald.service.8
man/systemd-journald.socket.8: man/systemd-journald.service.8
man/systemd-kexec.service.8: man/systemd-halt.service.8
-man/systemd-networkd.8: man/systemd-networkd.service.8
man/systemd-poweroff.service.8: man/systemd-halt.service.8
man/systemd-reboot.service.8: man/systemd-halt.service.8
man/systemd-remount-fs.8: man/systemd-remount-fs.service.8
@@ -557,9 +554,6 @@ man/systemd-journald.socket.html: man/systemd-journald.service.html
man/systemd-kexec.service.html: man/systemd-halt.service.html
$(html-alias)
-man/systemd-networkd.html: man/systemd-networkd.service.html
- $(html-alias)
-
man/systemd-poweroff.service.html: man/systemd-halt.service.html
$(html-alias)
@@ -706,6 +700,17 @@ man/systemd-machined.html: man/systemd-machined.service.html
endif
+if ENABLE_NETWORKD
+MANPAGES += \
+ man/systemd-networkd.service.8
+MANPAGES_ALIAS += \
+ man/systemd-networkd.8
+man/systemd-networkd.8: man/systemd-networkd.service.8
+man/systemd-networkd.html: man/systemd-networkd.service.html
+ $(html-alias)
+
+endif
+
if ENABLE_QUOTACHECK
MANPAGES += \
man/systemd-quotacheck.service.8
diff --git a/man/systemd-networkd.service.xml b/man/systemd-networkd.service.xml
index 209e3be9e0..41dc903144 100644
--- a/man/systemd-networkd.service.xml
+++ b/man/systemd-networkd.service.xml
@@ -21,7 +21,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
-->
-<refentry id="systemd-networkd.service">
+<refentry id="systemd-networkd.service" conditional='ENABLE_NETWORKD'>
<refentryinfo>
<title>systemd-networkd.service</title>