chiark / gitweb /
build-sys: make networkd man pages conditional
authorTom Gundersen <teg@jklm.no>
Tue, 12 Nov 2013 21:44:18 +0000 (22:44 +0100)
committerTom Gundersen <teg@jklm.no>
Tue, 12 Nov 2013 21:44:18 +0000 (22:44 +0100)
Makefile-man.am
man/systemd-networkd.service.xml

index 6239651..1a24e6b 100644 (file)
@@ -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
index 209e3be..41dc903 100644 (file)
@@ -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>