From: Gustavo Sverzut Barbieri Date: Thu, 25 Sep 2014 21:12:03 +0000 (-0300) Subject: do not install factory/etc/pam.d if --disable-pam X-Git-Tag: v217~425 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=2f88c8583aea6626c5f0a84cfc6de4b0a17f2d1c do not install factory/etc/pam.d if --disable-pam --- diff --git a/Makefile.am b/Makefile.am index bf860cdc0..1bdc91c23 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2048,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