summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-04-27 15:34:04 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-04-27 15:34:04 +0000
commitbd849daab0c0a1107512d4575404f22525db5f96 (patch)
tree8e5510f40740456cb66995c901d16fce5c4d5a24 /modules
parentb94608b25ad3946f15f4394240e15f34a50052df (diff)
modules/*/Makefile.am: list prerequisites of README target uniformly
There is no need to list prerequisites of README targets manually as all README targets depend on $(XMLS). The change is performed automatically using the following script: sed -i 's/^README: pam_.*/README: $(XMLS)/' modules/*/Makefile.am * modules/pam_access/Makefile.am (README): Replace pam_access.8.xml and access.conf.5.xml with $(XMLS). * modules/pam_cracklib/Makefile.am (README): Replace pam_cracklib.8.xml with $(XMLS). * modules/pam_debug/Makefile.am (README): Replace pam_debug.8.xml with $(XMLS). * modules/pam_deny/Makefile.am (README): Replace pam_deny.8.xml with $(XMLS). * modules/pam_echo/Makefile.am (README): Replace pam_echo.8.xml with $(XMLS). * modules/pam_env/Makefile.am (README): Replace pam_env.8.xml and pam_env.conf.5.xml with $(XMLS). * modules/pam_exec/Makefile.am (README): Replace pam_exec.8.xml with $(XMLS). * modules/pam_faildelay/Makefile.am (README): Replace pam_faildelay.8.xml with $(XMLS). * modules/pam_filter/Makefile.am (README): Replace pam_filter.8.xml with $(XMLS). * modules/pam_ftp/Makefile.am (README): Replace pam_ftp.8.xml with $(XMLS). * modules/pam_group/Makefile.am (README): Replace pam_group.8.xml and group.conf.5.xml with $(XMLS). * modules/pam_issue/Makefile.am (README): Replace pam_issue.8.xml with $(XMLS). * modules/pam_keyinit/Makefile.am (README): Replace pam_keyinit.8.xml with $(XMLS). * modules/pam_lastlog/Makefile.am (README): Replace pam_lastlog.8.xml with $(XMLS). * modules/pam_limits/Makefile.am (README): Replace pam_limits.8.xml and limits.conf.5.xml with $(XMLS). * modules/pam_listfile/Makefile.am (README): Replace pam_listfile.8.xml with $(XMLS). * modules/pam_localuser/Makefile.am (README): Replace pam_localuser.8.xml with $(XMLS). * modules/pam_loginuid/Makefile.am (README): Replace pam_loginuid.8.xml with $(XMLS). * modules/pam_mail/Makefile.am (README): Replace pam_mail.8.xml with $(XMLS). * modules/pam_mkhomedir/Makefile.am (README): Replace pam_mkhomedir.8.xml with $(XMLS). * modules/pam_motd/Makefile.am (README): Replace pam_motd.8.xml with $(XMLS). * modules/pam_namespace/Makefile.am (README): Replace pam_namespace.8.xml, namespace.conf.5.xml, and pam_namespace_helper.8.xml with $(XMLS). * modules/pam_nologin/Makefile.am (README): Replace pam_nologin.8.xml with $(XMLS). * modules/pam_permit/Makefile.am (README): Replace pam_permit.8.xml with $(XMLS). * modules/pam_pwhistory/Makefile.am (README): Replace pam_pwhistory.8.xml with $(XMLS). * modules/pam_rhosts/Makefile.am (README): Replace pam_rhosts.8.xml with $(XMLS). * modules/pam_rootok/Makefile.am (README): Replace pam_rootok.8.xml with $(XMLS). * modules/pam_securetty/Makefile.am (README): Replace pam_securetty.8.xml with $(XMLS). * modules/pam_selinux/Makefile.am (README): Replace pam_selinux.8.xml with $(XMLS). * modules/pam_sepermit/Makefile.am (README): Replace pam_sepermit.8.xml with $(XMLS). * modules/pam_setquota/Makefile.am (README): Replace pam_setquota.8.xml with $(XMLS). * modules/pam_shells/Makefile.am (README): Replace pam_shells.8.xml with $(XMLS). * modules/pam_succeed_if/Makefile.am (README): Replace pam_succeed_if.8.xml with $(XMLS). * modules/pam_tally/Makefile.am (README): Replace pam_tally.8.xml with $(XMLS). * modules/pam_tally2/Makefile.am (README): Replace pam_tally2.8.xml with $(XMLS). * modules/pam_time/Makefile.am (README): Replace pam_time.8.xml and time.conf.5.xml with $(XMLS). * modules/pam_timestamp/Makefile.am (README): Replace pam_timestamp.8.xml with $(XMLS). * modules/pam_tty_audit/Makefile.am (README): Replace pam_tty_audit.8.xml with $(XMLS). * modules/pam_umask/Makefile.am (README): Replace pam_umask.8.xml with $(XMLS). * modules/pam_unix/Makefile.am (README): Replace pam_unix.8.xml with $(XMLS). * modules/pam_userdb/Makefile.am (README): Replace pam_userdb.8.xml with $(XMLS). * modules/pam_usertype/Makefile.am (README): Replace pam_usertype.8.xml with $(XMLS). * modules/pam_warn/Makefile.am (README): Replace pam_warn.8.xml with $(XMLS). * modules/pam_wheel/Makefile.am (README): Replace pam_wheel.8.xml with $(XMLS). * modules/pam_xauth/Makefile.am (README): Replace pam_xauth.8.xml with $(XMLS).
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_access/Makefile.am2
-rw-r--r--modules/pam_cracklib/Makefile.am2
-rw-r--r--modules/pam_debug/Makefile.am2
-rw-r--r--modules/pam_deny/Makefile.am2
-rw-r--r--modules/pam_echo/Makefile.am2
-rw-r--r--modules/pam_env/Makefile.am2
-rw-r--r--modules/pam_exec/Makefile.am2
-rw-r--r--modules/pam_faildelay/Makefile.am2
-rw-r--r--modules/pam_filter/Makefile.am2
-rw-r--r--modules/pam_ftp/Makefile.am2
-rw-r--r--modules/pam_group/Makefile.am2
-rw-r--r--modules/pam_issue/Makefile.am2
-rw-r--r--modules/pam_keyinit/Makefile.am2
-rw-r--r--modules/pam_lastlog/Makefile.am2
-rw-r--r--modules/pam_limits/Makefile.am2
-rw-r--r--modules/pam_listfile/Makefile.am2
-rw-r--r--modules/pam_localuser/Makefile.am2
-rw-r--r--modules/pam_loginuid/Makefile.am2
-rw-r--r--modules/pam_mail/Makefile.am2
-rw-r--r--modules/pam_mkhomedir/Makefile.am2
-rw-r--r--modules/pam_motd/Makefile.am2
-rw-r--r--modules/pam_namespace/Makefile.am2
-rw-r--r--modules/pam_nologin/Makefile.am2
-rw-r--r--modules/pam_permit/Makefile.am2
-rw-r--r--modules/pam_pwhistory/Makefile.am2
-rw-r--r--modules/pam_rhosts/Makefile.am2
-rw-r--r--modules/pam_rootok/Makefile.am2
-rw-r--r--modules/pam_securetty/Makefile.am2
-rw-r--r--modules/pam_selinux/Makefile.am2
-rw-r--r--modules/pam_sepermit/Makefile.am2
-rw-r--r--modules/pam_setquota/Makefile.am2
-rw-r--r--modules/pam_shells/Makefile.am2
-rw-r--r--modules/pam_succeed_if/Makefile.am2
-rw-r--r--modules/pam_tally/Makefile.am2
-rw-r--r--modules/pam_tally2/Makefile.am2
-rw-r--r--modules/pam_time/Makefile.am2
-rw-r--r--modules/pam_timestamp/Makefile.am2
-rw-r--r--modules/pam_tty_audit/Makefile.am2
-rw-r--r--modules/pam_umask/Makefile.am2
-rw-r--r--modules/pam_unix/Makefile.am2
-rw-r--r--modules/pam_userdb/Makefile.am2
-rw-r--r--modules/pam_usertype/Makefile.am2
-rw-r--r--modules/pam_warn/Makefile.am2
-rw-r--r--modules/pam_wheel/Makefile.am2
-rw-r--r--modules/pam_xauth/Makefile.am2
45 files changed, 45 insertions, 45 deletions
diff --git a/modules/pam_access/Makefile.am b/modules/pam_access/Makefile.am
index eff6457f..1ecae3f6 100644
--- a/modules/pam_access/Makefile.am
+++ b/modules/pam_access/Makefile.am
@@ -33,7 +33,7 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_access.8.xml access.conf.5.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_cracklib/Makefile.am b/modules/pam_cracklib/Makefile.am
index f954010b..59840bdd 100644
--- a/modules/pam_cracklib/Makefile.am
+++ b/modules/pam_cracklib/Makefile.am
@@ -29,6 +29,6 @@ securelib_LTLIBRARIES = pam_cracklib.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_cracklib.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_debug/Makefile.am b/modules/pam_debug/Makefile.am
index 386bf622..b761ded2 100644
--- a/modules/pam_debug/Makefile.am
+++ b/modules/pam_debug/Makefile.am
@@ -29,6 +29,6 @@ TESTS = tst-pam_debug
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_debug.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_deny/Makefile.am b/modules/pam_deny/Makefile.am
index e8616b6d..8be9a71d 100644
--- a/modules/pam_deny/Makefile.am
+++ b/modules/pam_deny/Makefile.am
@@ -30,7 +30,7 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_deny.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_echo/Makefile.am b/modules/pam_echo/Makefile.am
index 24df58bf..cafc4315 100644
--- a/modules/pam_echo/Makefile.am
+++ b/modules/pam_echo/Makefile.am
@@ -28,7 +28,7 @@ pam_echo_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_echo.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_env/Makefile.am b/modules/pam_env/Makefile.am
index c20e478d..00ac41b4 100644
--- a/modules/pam_env/Makefile.am
+++ b/modules/pam_env/Makefile.am
@@ -31,7 +31,7 @@ sysconf_DATA = environment
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_env.8.xml pam_env.conf.5.xml
+README: $(XMLS)
environment.5: pam_env.conf.5.xml
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_exec/Makefile.am b/modules/pam_exec/Makefile.am
index 66cce931..9bf4657b 100644
--- a/modules/pam_exec/Makefile.am
+++ b/modules/pam_exec/Makefile.am
@@ -30,7 +30,7 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_exec.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_faildelay/Makefile.am b/modules/pam_faildelay/Makefile.am
index 817fb41d..15633e3d 100644
--- a/modules/pam_faildelay/Makefile.am
+++ b/modules/pam_faildelay/Makefile.am
@@ -29,6 +29,6 @@ pam_faildelay_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_faildelay.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_filter/Makefile.am b/modules/pam_filter/Makefile.am
index 4c423434..c1ce6328 100644
--- a/modules/pam_filter/Makefile.am
+++ b/modules/pam_filter/Makefile.am
@@ -32,6 +32,6 @@ TESTS = tst-pam_filter
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_filter.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_ftp/Makefile.am b/modules/pam_ftp/Makefile.am
index 5b164a95..2c662458 100644
--- a/modules/pam_ftp/Makefile.am
+++ b/modules/pam_ftp/Makefile.am
@@ -29,6 +29,6 @@ TESTS = tst-pam_ftp
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_ftp.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_group/Makefile.am b/modules/pam_group/Makefile.am
index dc43cf01..c8d2501b 100644
--- a/modules/pam_group/Makefile.am
+++ b/modules/pam_group/Makefile.am
@@ -31,6 +31,6 @@ TESTS = tst-pam_group
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_group.8.xml group.conf.5.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_issue/Makefile.am b/modules/pam_issue/Makefile.am
index a5a0bf6f..ce85ec49 100644
--- a/modules/pam_issue/Makefile.am
+++ b/modules/pam_issue/Makefile.am
@@ -29,6 +29,6 @@ pam_issue_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_issue.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_keyinit/Makefile.am b/modules/pam_keyinit/Makefile.am
index 7eacc34d..6d58f345 100644
--- a/modules/pam_keyinit/Makefile.am
+++ b/modules/pam_keyinit/Makefile.am
@@ -15,7 +15,7 @@ TESTS = tst-pam_keyinit
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_keyinit.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_lastlog/Makefile.am b/modules/pam_lastlog/Makefile.am
index 79333a3e..beca380c 100644
--- a/modules/pam_lastlog/Makefile.am
+++ b/modules/pam_lastlog/Makefile.am
@@ -29,6 +29,6 @@ pam_lastlog_la_LIBADD = $(top_builddir)/libpam/libpam.la -lutil
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_lastlog.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_limits/Makefile.am b/modules/pam_limits/Makefile.am
index 231b37bf..b47c9ded 100644
--- a/modules/pam_limits/Makefile.am
+++ b/modules/pam_limits/Makefile.am
@@ -33,7 +33,7 @@ secureconf_DATA = limits.conf
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_limits.8.xml limits.conf.5.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_listfile/Makefile.am b/modules/pam_listfile/Makefile.am
index 770a7c2d..0e79856c 100644
--- a/modules/pam_listfile/Makefile.am
+++ b/modules/pam_listfile/Makefile.am
@@ -29,6 +29,6 @@ pam_listfile_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_listfile.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_localuser/Makefile.am b/modules/pam_localuser/Makefile.am
index 4569561b..e37a19aa 100644
--- a/modules/pam_localuser/Makefile.am
+++ b/modules/pam_localuser/Makefile.am
@@ -29,6 +29,6 @@ pam_localuser_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_localuser.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_loginuid/Makefile.am b/modules/pam_loginuid/Makefile.am
index 8bfbcdbe..561e08c7 100644
--- a/modules/pam_loginuid/Makefile.am
+++ b/modules/pam_loginuid/Makefile.am
@@ -30,7 +30,7 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_loginuid.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_mail/Makefile.am b/modules/pam_mail/Makefile.am
index 8e95b087..db8046af 100644
--- a/modules/pam_mail/Makefile.am
+++ b/modules/pam_mail/Makefile.am
@@ -29,6 +29,6 @@ pam_mail_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_mail.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_mkhomedir/Makefile.am b/modules/pam_mkhomedir/Makefile.am
index 8236c5c8..47aea856 100644
--- a/modules/pam_mkhomedir/Makefile.am
+++ b/modules/pam_mkhomedir/Makefile.am
@@ -36,6 +36,6 @@ mkhomedir_helper_LDADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_mkhomedir.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_motd/Makefile.am b/modules/pam_motd/Makefile.am
index 7b67ebeb..0554df82 100644
--- a/modules/pam_motd/Makefile.am
+++ b/modules/pam_motd/Makefile.am
@@ -29,6 +29,6 @@ pam_motd_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_motd.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_namespace/Makefile.am b/modules/pam_namespace/Makefile.am
index 995e5c94..9bc3956e 100644
--- a/modules/pam_namespace/Makefile.am
+++ b/modules/pam_namespace/Makefile.am
@@ -50,6 +50,6 @@ uninstall-local:
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_namespace.8.xml namespace.conf.5.xml pam_namespace_helper.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_nologin/Makefile.am b/modules/pam_nologin/Makefile.am
index dd126f74..234de54a 100644
--- a/modules/pam_nologin/Makefile.am
+++ b/modules/pam_nologin/Makefile.am
@@ -29,6 +29,6 @@ pam_nologin_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_nologin.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_permit/Makefile.am b/modules/pam_permit/Makefile.am
index 1a5847b1..226cece7 100644
--- a/modules/pam_permit/Makefile.am
+++ b/modules/pam_permit/Makefile.am
@@ -29,6 +29,6 @@ pam_permit_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_permit.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_pwhistory/Makefile.am b/modules/pam_pwhistory/Makefile.am
index e22c8bcf..788d04a8 100644
--- a/modules/pam_pwhistory/Makefile.am
+++ b/modules/pam_pwhistory/Makefile.am
@@ -33,6 +33,6 @@ pam_pwhistory_la_SOURCES = pam_pwhistory.c opasswd.c
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_pwhistory.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_rhosts/Makefile.am b/modules/pam_rhosts/Makefile.am
index f7dc4665..c7af7c10 100644
--- a/modules/pam_rhosts/Makefile.am
+++ b/modules/pam_rhosts/Makefile.am
@@ -30,6 +30,6 @@ pam_rhosts_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_rhosts.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_rootok/Makefile.am b/modules/pam_rootok/Makefile.am
index f5fd47ae..85f78bf2 100644
--- a/modules/pam_rootok/Makefile.am
+++ b/modules/pam_rootok/Makefile.am
@@ -29,6 +29,6 @@ pam_rootok_la_LIBADD = $(top_builddir)/libpam/libpam.la @LIBSELINUX@ @LIBAUDIT@
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_rootok.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_securetty/Makefile.am b/modules/pam_securetty/Makefile.am
index bf41eff1..ff4f4218 100644
--- a/modules/pam_securetty/Makefile.am
+++ b/modules/pam_securetty/Makefile.am
@@ -32,7 +32,7 @@ pam_securetty_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_securetty.8.xml
+README: $(XMLS)
if HAVE_VENDORDIR
XSLTPROC_CUSTOM = --stringparam vendordir $(VENDORDIR)
else
diff --git a/modules/pam_selinux/Makefile.am b/modules/pam_selinux/Makefile.am
index f8d23398..6aa99579 100644
--- a/modules/pam_selinux/Makefile.am
+++ b/modules/pam_selinux/Makefile.am
@@ -33,6 +33,6 @@ pam_selinux_check_LDADD = $(top_builddir)/libpam/libpam.la \
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_selinux.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_sepermit/Makefile.am b/modules/pam_sepermit/Makefile.am
index c382ebd8..4fcb3d50 100644
--- a/modules/pam_sepermit/Makefile.am
+++ b/modules/pam_sepermit/Makefile.am
@@ -38,6 +38,6 @@ install-data-local:
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_sepermit.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_setquota/Makefile.am b/modules/pam_setquota/Makefile.am
index 35db0b4c..83c26f46 100644
--- a/modules/pam_setquota/Makefile.am
+++ b/modules/pam_setquota/Makefile.am
@@ -25,6 +25,6 @@ pam_setquota_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_setquota.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_shells/Makefile.am b/modules/pam_shells/Makefile.am
index 30a5e437..1ffcbc6a 100644
--- a/modules/pam_shells/Makefile.am
+++ b/modules/pam_shells/Makefile.am
@@ -29,6 +29,6 @@ pam_shells_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_shells.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_succeed_if/Makefile.am b/modules/pam_succeed_if/Makefile.am
index 99ff1427..97fe5c94 100644
--- a/modules/pam_succeed_if/Makefile.am
+++ b/modules/pam_succeed_if/Makefile.am
@@ -30,6 +30,6 @@ pam_succeed_if_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_succeed_if.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_tally/Makefile.am b/modules/pam_tally/Makefile.am
index 2bf3d725..531f0e04 100644
--- a/modules/pam_tally/Makefile.am
+++ b/modules/pam_tally/Makefile.am
@@ -35,6 +35,6 @@ pam_tally_SOURCES = pam_tally_app.c
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_tally.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_tally2/Makefile.am b/modules/pam_tally2/Makefile.am
index b7e2c55c..dbe1d0b8 100644
--- a/modules/pam_tally2/Makefile.am
+++ b/modules/pam_tally2/Makefile.am
@@ -39,6 +39,6 @@ pam_tally2_SOURCES = pam_tally2_app.c
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_tally2.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_time/Makefile.am b/modules/pam_time/Makefile.am
index 8db6645e..566156fd 100644
--- a/modules/pam_time/Makefile.am
+++ b/modules/pam_time/Makefile.am
@@ -30,6 +30,6 @@ secureconf_DATA = time.conf
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_time.8.xml time.conf.5.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_timestamp/Makefile.am b/modules/pam_timestamp/Makefile.am
index ccb495f2..7b945712 100644
--- a/modules/pam_timestamp/Makefile.am
+++ b/modules/pam_timestamp/Makefile.am
@@ -46,7 +46,7 @@ hmacfile_LDADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_timestamp.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_tty_audit/Makefile.am b/modules/pam_tty_audit/Makefile.am
index 2d1a56d7..19a2f237 100644
--- a/modules/pam_tty_audit/Makefile.am
+++ b/modules/pam_tty_audit/Makefile.am
@@ -27,6 +27,6 @@ securelib_LTLIBRARIES = pam_tty_audit.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_tty_audit.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_umask/Makefile.am b/modules/pam_umask/Makefile.am
index fd7da1b0..5a7c2ca4 100644
--- a/modules/pam_umask/Makefile.am
+++ b/modules/pam_umask/Makefile.am
@@ -30,6 +30,6 @@ pam_umask_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_umask.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_unix/Makefile.am b/modules/pam_unix/Makefile.am
index 339bfb17..a893c713 100644
--- a/modules/pam_unix/Makefile.am
+++ b/modules/pam_unix/Makefile.am
@@ -59,6 +59,6 @@ unix_update_LDADD = @LIBCRYPT@ @LIBSELINUX@
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_unix.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_userdb/Makefile.am b/modules/pam_userdb/Makefile.am
index a969b9de..56747481 100644
--- a/modules/pam_userdb/Makefile.am
+++ b/modules/pam_userdb/Makefile.am
@@ -31,6 +31,6 @@ noinst_HEADERS = pam_userdb.h
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_userdb.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_usertype/Makefile.am b/modules/pam_usertype/Makefile.am
index f10ee618..2fd1ac38 100644
--- a/modules/pam_usertype/Makefile.am
+++ b/modules/pam_usertype/Makefile.am
@@ -31,6 +31,6 @@ pam_usertype_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_usertype.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_warn/Makefile.am b/modules/pam_warn/Makefile.am
index 1a121989..3cd9b90b 100644
--- a/modules/pam_warn/Makefile.am
+++ b/modules/pam_warn/Makefile.am
@@ -29,6 +29,6 @@ pam_warn_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_warn.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_wheel/Makefile.am b/modules/pam_wheel/Makefile.am
index 6b0fccd3..1995f1f2 100644
--- a/modules/pam_wheel/Makefile.am
+++ b/modules/pam_wheel/Makefile.am
@@ -29,6 +29,6 @@ pam_wheel_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_wheel.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_xauth/Makefile.am b/modules/pam_xauth/Makefile.am
index 573f973f..afda1834 100644
--- a/modules/pam_xauth/Makefile.am
+++ b/modules/pam_xauth/Makefile.am
@@ -29,6 +29,6 @@ pam_xauth_la_LIBADD = $(top_builddir)/libpam/libpam.la @LIBSELINUX@
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: pam_xauth.8.xml
+README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif