chiark / gitweb /
build-sys: do not install pam_systemd(8) without PAM
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 4 Mar 2013 18:16:38 +0000 (13:16 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 4 Mar 2013 18:16:38 +0000 (13:16 -0500)
Makefile-man.am
man/pam_systemd.xml

index 58271d2..e095c3e 100644 (file)
@@ -15,7 +15,6 @@ MANPAGES += \
        man/machine-id.5 \
        man/machine-info.5 \
        man/os-release.5 \
-       man/pam_systemd.8 \
        man/runlevel.8 \
        man/sd-daemon.3 \
        man/sd-id128.3 \
@@ -423,6 +422,7 @@ endif
 if HAVE_PAM
 MANPAGES += \
        man/loginctl.1 \
+       man/pam_systemd.8 \
        man/sd-login.3 \
        man/sd_get_seats.3 \
        man/sd_login_monitor_new.3 \
index d74a918..2dc6651 100644 (file)
@@ -21,7 +21,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 -->
 
-<refentry id="pam_systemd">
+<refentry id="pam_systemd" conditional='HAVE_PAM'>
 
         <refentryinfo>
                 <title>pam_systemd</title>