summaryrefslogtreecommitdiff
path: root/modules/pam_nologin/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_nologin/Makefile.am')
-rw-r--r--modules/pam_nologin/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/pam_nologin/Makefile.am b/modules/pam_nologin/Makefile.am
index e2d00725..d1ec2035 100644
--- a/modules/pam_nologin/Makefile.am
+++ b/modules/pam_nologin/Makefile.am
@@ -12,7 +12,7 @@ dist_man_MANS = pam_nologin.8
endif
XMLS = README.xml pam_nologin.8.xml
dist_check_SCRIPTS = tst-pam_nologin
-TESTS = $(dist_check_SCRIPTS)
+TESTS = $(dist_check_SCRIPTS) $(check_PROGRAMS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
@@ -27,6 +27,9 @@ endif
securelib_LTLIBRARIES = pam_nologin.la
pam_nologin_la_LIBADD = $(top_builddir)/libpam/libpam.la
+check_PROGRAMS = tst-pam_nologin-retval
+tst_pam_nologin_retval_LDADD = $(top_builddir)/libpam/libpam.la
+
if ENABLE_REGENERATE_MAN
dist_noinst_DATA = README
-include $(top_srcdir)/Make.xml.rules