summaryrefslogtreecommitdiff
path: root/modules/pam_userdb/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_userdb/Makefile.am')
-rw-r--r--modules/pam_userdb/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/pam_userdb/Makefile.am b/modules/pam_userdb/Makefile.am
index 6e6a94af..4b6f2569 100644
--- a/modules/pam_userdb/Makefile.am
+++ b/modules/pam_userdb/Makefile.am
@@ -4,7 +4,10 @@
CLEANFILES = *~
-EXTRA_DIST = README create.pl tst-pam_userdb
+EXTRA_DIST = README (MANS) $(XMLS) create.pl tst-pam_userdb
+
+man_MANS = pam_userdb.8
+XMLS = README.xml pam_userdb.8.xml
TESTS = tst-pam_userdb
@@ -23,3 +26,10 @@ if HAVE_LIBDB
endif
noinst_HEADERS = pam_userdb.h
+
+if ENABLE_REGENERATE_MAN
+noinst_DATA = README
+README: pam_userdb.8.xml
+-include $(top_srcdir)/Make.xml.rules
+endif
+