build-sys: make networkd man pages conditional

This commit is contained in:
Tom Gundersen 2013-11-12 22:44:18 +01:00
parent 3c9317d2d9
commit 2b70d172a7
2 changed files with 12 additions and 7 deletions

View 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

View 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>