summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@gmail.com>2016-10-12 11:56:27 -0300
committerFelipe Sateler <fsateler@gmail.com>2016-10-12 14:09:14 -0300
commit651742d8ecd62d718080329fbba805bf364e6c25 (patch)
tree11698670487306812e5f1369cc2d41d76aa476fc /Makefile.am
parent95cbf84564d30a771f51f76e03ce1edf4349fd20 (diff)
build-sys: Allow disabling installation of pam config snippet
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index b09b0cf167..e740512f98 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5902,8 +5902,10 @@ pam_systemd_la_LIBADD = \
pamlib_LTLIBRARIES = \
pam_systemd.la
+if ENABLE_PAM_CONFIG
dist_pamconf_DATA = \
src/login/systemd-user
+endif
EXTRA_DIST += \
src/login/systemd-user.m4