chiark / gitweb /
do not install factory/etc/pam.d if --disable-pam
[elogind.git] / Makefile.am
index 065d688ebba799767b1cf41678da1b9e028da58d..1bdc91c2390ac1a38dbba43eae633db86ac6e19c 100644 (file)
@@ -720,7 +720,6 @@ EXTRA_DIST += \
        $(man_MANS) \
        tools/make-man-index.py \
        tools/make-directive-index.py \
-       tools/make-man-rules.py \
        tools/xml_helper.py
 
 # ------------------------------------------------------------------------------
@@ -2049,9 +2048,11 @@ endif
 dist_factory_etc_DATA = \
        factory/etc/nsswitch.conf
 
+if HAVE_PAM
 dist_factory_pam_DATA = \
        factory/etc/pam.d/system-auth \
        factory/etc/pam.d/other
+endif
 
 # ------------------------------------------------------------------------------
 if ENABLE_FIRSTBOOT