chiark / gitweb /
build-sys: mark systemd-firstboot man page as conditional
authorMichael Biebl <biebl@debian.org>
Wed, 4 Feb 2015 20:31:26 +0000 (21:31 +0100)
committerMichael Biebl <biebl@debian.org>
Wed, 4 Feb 2015 20:35:55 +0000 (21:35 +0100)
Rebuild Makefile-man.am accordingly.

Makefile-man.am
man/systemd-firstboot.xml

index 105853e..7503abb 100644 (file)
@@ -65,7 +65,6 @@ MANPAGES += \
        man/systemd-detect-virt.1 \
        man/systemd-efi-boot-generator.8 \
        man/systemd-escape.1 \
-       man/systemd-firstboot.1 \
        man/systemd-fsck@.service.8 \
        man/systemd-fstab-generator.8 \
        man/systemd-getty-generator.8 \
@@ -207,7 +206,6 @@ MANPAGES_ALIAS += \
        man/systemd-ask-password-console.path.8 \
        man/systemd-ask-password-wall.path.8 \
        man/systemd-ask-password-wall.service.8 \
-       man/systemd-firstboot.service.1 \
        man/systemd-fsck-root.service.8 \
        man/systemd-fsck.8 \
        man/systemd-hibernate-resume.8 \
@@ -320,7 +318,6 @@ man/system.conf.d.5: man/systemd-system.conf.5
 man/systemd-ask-password-console.path.8: man/systemd-ask-password-console.service.8
 man/systemd-ask-password-wall.path.8: man/systemd-ask-password-console.service.8
 man/systemd-ask-password-wall.service.8: man/systemd-ask-password-console.service.8
-man/systemd-firstboot.service.1: man/systemd-firstboot.1
 man/systemd-fsck-root.service.8: man/systemd-fsck@.service.8
 man/systemd-fsck.8: man/systemd-fsck@.service.8
 man/systemd-hibernate-resume.8: man/systemd-hibernate-resume@.service.8
@@ -597,9 +594,6 @@ man/systemd-ask-password-wall.path.html: man/systemd-ask-password-console.servic
 man/systemd-ask-password-wall.service.html: man/systemd-ask-password-console.service.html
        $(html-alias)
 
-man/systemd-firstboot.service.html: man/systemd-firstboot.html
-       $(html-alias)
-
 man/systemd-fsck-root.service.html: man/systemd-fsck@.service.html
        $(html-alias)
 
@@ -748,6 +742,17 @@ MANPAGES_ALIAS += \
 
 endif
 
+if ENABLE_FIRSTBOOT
+MANPAGES += \
+       man/systemd-firstboot.1
+MANPAGES_ALIAS += \
+       man/systemd-firstboot.service.1
+man/systemd-firstboot.service.1: man/systemd-firstboot.1
+man/systemd-firstboot.service.html: man/systemd-firstboot.html
+       $(html-alias)
+
+endif
+
 if ENABLE_HOSTNAMED
 MANPAGES += \
        man/hostnamectl.1 \
index 5f19aaf..67d38ba 100644 (file)
@@ -21,7 +21,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 -->
 
-<refentry id="systemd-firstboot"
+<refentry id="systemd-firstboot" conditional='ENABLE_FIRSTBOOT'
     xmlns:xi="http://www.w3.org/2001/XInclude">
 
   <refentryinfo>