chiark / gitweb /
build-sys: do not install logind manpages when disabled
[elogind.git] / Makefile-man.am
index 9a2f2f55046291defa24d765ecae90eda851184a..58271d28dc6526dadb1a9deff8e485d6956afd43 100644 (file)
@@ -44,6 +44,7 @@ MANPAGES += \
        man/shutdown.8 \
        man/sysctl.d.5 \
        man/systemctl.1 \
+       man/systemd-activate.8 \
        man/systemd-analyze.1 \
        man/systemd-ask-password-console.service.8 \
        man/systemd-ask-password.1 \
@@ -321,6 +322,15 @@ MANPAGES_ALIAS += \
 man/systemd-localed.8: man/systemd-localed.service.8
 endif
 
+if ENABLE_LOGIND
+MANPAGES += \
+       man/logind.conf.5 \
+       man/systemd-logind.service.8
+MANPAGES_ALIAS += \
+       man/systemd-logind.8
+man/systemd-logind.8: man/systemd-logind.service.8
+endif
+
 if ENABLE_QUOTACHECK
 MANPAGES += \
        man/systemd-quotacheck.service.8
@@ -413,7 +423,6 @@ endif
 if HAVE_PAM
 MANPAGES += \
        man/loginctl.1 \
-       man/logind.conf.5 \
        man/sd-login.3 \
        man/sd_get_seats.3 \
        man/sd_login_monitor_new.3 \
@@ -421,7 +430,6 @@ MANPAGES += \
        man/sd_seat_get_active.3 \
        man/sd_session_is_active.3 \
        man/sd_uid_get_state.3 \
-       man/systemd-logind.service.8 \
        man/systemd-user-sessions.service.8
 MANPAGES_ALIAS += \
        man/sd_get_sessions.3 \
@@ -445,7 +453,6 @@ MANPAGES_ALIAS += \
        man/sd_uid_get_seats.3 \
        man/sd_uid_get_sessions.3 \
        man/sd_uid_is_on_seat.3 \
-       man/systemd-logind.8 \
        man/systemd-user-sessions.8
 man/sd_get_sessions.3: man/sd_get_seats.3
 man/sd_get_uids.3: man/sd_get_seats.3
@@ -468,7 +475,6 @@ man/sd_session_get_uid.3: man/sd_session_is_active.3
 man/sd_uid_get_seats.3: man/sd_uid_get_state.3
 man/sd_uid_get_sessions.3: man/sd_uid_get_state.3
 man/sd_uid_is_on_seat.3: man/sd_uid_get_state.3
-man/systemd-logind.8: man/systemd-logind.service.8
 man/systemd-user-sessions.8: man/systemd-user-sessions.service.8
 endif