chiark / gitweb /
build-sys: do not install logind manpages when disabled
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 4 Mar 2013 17:57:12 +0000 (12:57 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 4 Mar 2013 18:06:43 +0000 (13:06 -0500)
The condition was wrong: HAVE_PAM -> ENABLE_LOGIND.

Makefile-man.am
man/logind.conf.xml
man/systemd-logind.service.xml

index d02fff05e215990bd2f87c2164176baed0fd8134..58271d28dc6526dadb1a9deff8e485d6956afd43 100644 (file)
@@ -322,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
@@ -414,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 \
@@ -422,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 \
@@ -446,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
@@ -469,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
 
index 362a4f61081446fa7008c52f037b299dff6d58b7..b0dd20f2a44eddbf99d36bc6cca02f852d1ad402 100644 (file)
@@ -22,7 +22,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 -->
 
-<refentry id="logind.conf" conditional='HAVE_PAM'>
+<refentry id="logind.conf" conditional='ENABLE_LOGIND'>
         <refentryinfo>
                 <title>logind.conf</title>
                 <productname>systemd</productname>
index 523a63b4f35ec5da97de8ba778e2f0c4aee79c4c..09bcfac4307f10452b8a79a705d0dc621e8d4215 100644 (file)
@@ -21,7 +21,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 -->
 
-<refentry id="systemd-logind.service" conditional='HAVE_PAM'>
+<refentry id="systemd-logind.service" conditional='ENABLE_LOGIND'>
 
         <refentryinfo>
                 <title>systemd-logind.service</title>