summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-04 13:16:38 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-04 13:16:38 -0500
commit47c490345256f2db32d8d883cd7c5243158a14e1 (patch)
tree1c1396781198e4024501c1921d8271cd0519113c
parent4fe52119233710903f9b52e1e608889fe5036837 (diff)
build-sys: do not install pam_systemd(8) without PAM
-rw-r--r--Makefile-man.am2
-rw-r--r--man/pam_systemd.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile-man.am b/Makefile-man.am
index 58271d28dc..e095c3e765 100644
--- a/Makefile-man.am
+++ b/Makefile-man.am
@@ -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 \
diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml
index d74a91878c..2dc6651885 100644
--- a/man/pam_systemd.xml
+++ b/man/pam_systemd.xml
@@ -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>