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
commit1886b6020c510cab239b3ae8db20a66991d8f8db (patch)
tree71174d2237aca7e259512e1aaf034a7485aaee69 /modules
parentbd849daab0c0a1107512d4575404f22525db5f96 (diff)
build: move README prerequisites rule from modules/*/Makefile.am to Make.xml.rules
As the rule is now the same in every modules/*/Makefile.am file, move it to Make.xml.rules. * Make.xml.rules (README): New prerequisites rule. * modules/pam_access/Makefile.am (README): Remove rule. * modules/pam_cracklib/Makefile.am (README): Likewise. * modules/pam_debug/Makefile.am (README): Likewise. * modules/pam_deny/Makefile.am (README): Likewise. * modules/pam_echo/Makefile.am (README): Likewise. * modules/pam_env/Makefile.am (README): Likewise. * modules/pam_exec/Makefile.am (README): Likewise. * modules/pam_faildelay/Makefile.am (README): Likewise. * modules/pam_filter/Makefile.am (README): Likewise. * modules/pam_ftp/Makefile.am (README): Likewise. * modules/pam_group/Makefile.am (README): Likewise. * modules/pam_issue/Makefile.am (README): Likewise. * modules/pam_keyinit/Makefile.am (README): Likewise. * modules/pam_lastlog/Makefile.am (README): Likewise. * modules/pam_limits/Makefile.am (README): Likewise. * modules/pam_listfile/Makefile.am (README): Likewise. * modules/pam_localuser/Makefile.am (README): Likewise. * modules/pam_loginuid/Makefile.am (README): Likewise. * modules/pam_mail/Makefile.am (README): Likewise. * modules/pam_mkhomedir/Makefile.am (README): Likewise. * modules/pam_motd/Makefile.am (README): Likewise. * modules/pam_namespace/Makefile.am (README): Likewise. * modules/pam_nologin/Makefile.am (README): Likewise. * modules/pam_permit/Makefile.am (README): Likewise. * modules/pam_pwhistory/Makefile.am (README): Likewise. * modules/pam_rhosts/Makefile.am (README): Likewise. * modules/pam_rootok/Makefile.am (README): Likewise. * modules/pam_securetty/Makefile.am (README): Likewise. * modules/pam_selinux/Makefile.am (README): Likewise. * modules/pam_sepermit/Makefile.am (README): Likewise. * modules/pam_setquota/Makefile.am (README): Likewise. * modules/pam_shells/Makefile.am (README): Likewise. * modules/pam_succeed_if/Makefile.am (README): Likewise. * modules/pam_tally/Makefile.am (README): Likewise. * modules/pam_tally2/Makefile.am (README): Likewise. * modules/pam_time/Makefile.am (README): Likewise. * modules/pam_timestamp/Makefile.am (README): Likewise. * modules/pam_tty_audit/Makefile.am (README): Likewise. * modules/pam_umask/Makefile.am (README): Likewise. * modules/pam_unix/Makefile.am (README): Likewise. * modules/pam_userdb/Makefile.am (README): Likewise. * modules/pam_usertype/Makefile.am (README): Likewise. * modules/pam_warn/Makefile.am (README): Likewise. * modules/pam_wheel/Makefile.am (README): Likewise. * modules/pam_xauth/Makefile.am (README): Likewise.
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_access/Makefile.am1
-rw-r--r--modules/pam_cracklib/Makefile.am1
-rw-r--r--modules/pam_debug/Makefile.am1
-rw-r--r--modules/pam_deny/Makefile.am1
-rw-r--r--modules/pam_echo/Makefile.am1
-rw-r--r--modules/pam_env/Makefile.am1
-rw-r--r--modules/pam_exec/Makefile.am1
-rw-r--r--modules/pam_faildelay/Makefile.am1
-rw-r--r--modules/pam_filter/Makefile.am1
-rw-r--r--modules/pam_ftp/Makefile.am1
-rw-r--r--modules/pam_group/Makefile.am1
-rw-r--r--modules/pam_issue/Makefile.am1
-rw-r--r--modules/pam_keyinit/Makefile.am1
-rw-r--r--modules/pam_lastlog/Makefile.am1
-rw-r--r--modules/pam_limits/Makefile.am1
-rw-r--r--modules/pam_listfile/Makefile.am1
-rw-r--r--modules/pam_localuser/Makefile.am1
-rw-r--r--modules/pam_loginuid/Makefile.am1
-rw-r--r--modules/pam_mail/Makefile.am1
-rw-r--r--modules/pam_mkhomedir/Makefile.am1
-rw-r--r--modules/pam_motd/Makefile.am1
-rw-r--r--modules/pam_namespace/Makefile.am1
-rw-r--r--modules/pam_nologin/Makefile.am1
-rw-r--r--modules/pam_permit/Makefile.am1
-rw-r--r--modules/pam_pwhistory/Makefile.am1
-rw-r--r--modules/pam_rhosts/Makefile.am1
-rw-r--r--modules/pam_rootok/Makefile.am1
-rw-r--r--modules/pam_securetty/Makefile.am1
-rw-r--r--modules/pam_selinux/Makefile.am1
-rw-r--r--modules/pam_sepermit/Makefile.am1
-rw-r--r--modules/pam_setquota/Makefile.am1
-rw-r--r--modules/pam_shells/Makefile.am1
-rw-r--r--modules/pam_succeed_if/Makefile.am1
-rw-r--r--modules/pam_tally/Makefile.am1
-rw-r--r--modules/pam_tally2/Makefile.am1
-rw-r--r--modules/pam_time/Makefile.am1
-rw-r--r--modules/pam_timestamp/Makefile.am1
-rw-r--r--modules/pam_tty_audit/Makefile.am1
-rw-r--r--modules/pam_umask/Makefile.am1
-rw-r--r--modules/pam_unix/Makefile.am1
-rw-r--r--modules/pam_userdb/Makefile.am1
-rw-r--r--modules/pam_usertype/Makefile.am1
-rw-r--r--modules/pam_warn/Makefile.am1
-rw-r--r--modules/pam_wheel/Makefile.am1
-rw-r--r--modules/pam_xauth/Makefile.am1
45 files changed, 0 insertions, 45 deletions
diff --git a/modules/pam_access/Makefile.am b/modules/pam_access/Makefile.am
index 1ecae3f6..94bcb8c2 100644
--- a/modules/pam_access/Makefile.am
+++ b/modules/pam_access/Makefile.am
@@ -33,7 +33,6 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_cracklib/Makefile.am b/modules/pam_cracklib/Makefile.am
index 59840bdd..0f73cb97 100644
--- a/modules/pam_cracklib/Makefile.am
+++ b/modules/pam_cracklib/Makefile.am
@@ -29,6 +29,5 @@ securelib_LTLIBRARIES = pam_cracklib.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_debug/Makefile.am b/modules/pam_debug/Makefile.am
index b761ded2..a9bd2c2d 100644
--- a/modules/pam_debug/Makefile.am
+++ b/modules/pam_debug/Makefile.am
@@ -29,6 +29,5 @@ TESTS = tst-pam_debug
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_deny/Makefile.am b/modules/pam_deny/Makefile.am
index 8be9a71d..ec7a6a2f 100644
--- a/modules/pam_deny/Makefile.am
+++ b/modules/pam_deny/Makefile.am
@@ -30,7 +30,6 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_echo/Makefile.am b/modules/pam_echo/Makefile.am
index cafc4315..4d114886 100644
--- a/modules/pam_echo/Makefile.am
+++ b/modules/pam_echo/Makefile.am
@@ -28,7 +28,6 @@ pam_echo_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_env/Makefile.am b/modules/pam_env/Makefile.am
index 00ac41b4..fb85ec52 100644
--- a/modules/pam_env/Makefile.am
+++ b/modules/pam_env/Makefile.am
@@ -31,7 +31,6 @@ sysconf_DATA = environment
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-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 9bf4657b..acfbd18a 100644
--- a/modules/pam_exec/Makefile.am
+++ b/modules/pam_exec/Makefile.am
@@ -30,7 +30,6 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_faildelay/Makefile.am b/modules/pam_faildelay/Makefile.am
index 15633e3d..562564af 100644
--- a/modules/pam_faildelay/Makefile.am
+++ b/modules/pam_faildelay/Makefile.am
@@ -29,6 +29,5 @@ pam_faildelay_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_filter/Makefile.am b/modules/pam_filter/Makefile.am
index c1ce6328..740b377d 100644
--- a/modules/pam_filter/Makefile.am
+++ b/modules/pam_filter/Makefile.am
@@ -32,6 +32,5 @@ TESTS = tst-pam_filter
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_ftp/Makefile.am b/modules/pam_ftp/Makefile.am
index 2c662458..c9deaf56 100644
--- a/modules/pam_ftp/Makefile.am
+++ b/modules/pam_ftp/Makefile.am
@@ -29,6 +29,5 @@ TESTS = tst-pam_ftp
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_group/Makefile.am b/modules/pam_group/Makefile.am
index c8d2501b..a9059d40 100644
--- a/modules/pam_group/Makefile.am
+++ b/modules/pam_group/Makefile.am
@@ -31,6 +31,5 @@ TESTS = tst-pam_group
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_issue/Makefile.am b/modules/pam_issue/Makefile.am
index ce85ec49..eb201e8c 100644
--- a/modules/pam_issue/Makefile.am
+++ b/modules/pam_issue/Makefile.am
@@ -29,6 +29,5 @@ pam_issue_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_keyinit/Makefile.am b/modules/pam_keyinit/Makefile.am
index 6d58f345..8948a623 100644
--- a/modules/pam_keyinit/Makefile.am
+++ b/modules/pam_keyinit/Makefile.am
@@ -15,7 +15,6 @@ TESTS = tst-pam_keyinit
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_lastlog/Makefile.am b/modules/pam_lastlog/Makefile.am
index beca380c..ac0ecedd 100644
--- a/modules/pam_lastlog/Makefile.am
+++ b/modules/pam_lastlog/Makefile.am
@@ -29,6 +29,5 @@ pam_lastlog_la_LIBADD = $(top_builddir)/libpam/libpam.la -lutil
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_limits/Makefile.am b/modules/pam_limits/Makefile.am
index b47c9ded..98eefe7f 100644
--- a/modules/pam_limits/Makefile.am
+++ b/modules/pam_limits/Makefile.am
@@ -33,7 +33,6 @@ secureconf_DATA = limits.conf
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_listfile/Makefile.am b/modules/pam_listfile/Makefile.am
index 0e79856c..91a033d7 100644
--- a/modules/pam_listfile/Makefile.am
+++ b/modules/pam_listfile/Makefile.am
@@ -29,6 +29,5 @@ pam_listfile_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_localuser/Makefile.am b/modules/pam_localuser/Makefile.am
index e37a19aa..4102ba30 100644
--- a/modules/pam_localuser/Makefile.am
+++ b/modules/pam_localuser/Makefile.am
@@ -29,6 +29,5 @@ pam_localuser_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_loginuid/Makefile.am b/modules/pam_loginuid/Makefile.am
index 561e08c7..4ac57082 100644
--- a/modules/pam_loginuid/Makefile.am
+++ b/modules/pam_loginuid/Makefile.am
@@ -30,7 +30,6 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_mail/Makefile.am b/modules/pam_mail/Makefile.am
index db8046af..65c58af1 100644
--- a/modules/pam_mail/Makefile.am
+++ b/modules/pam_mail/Makefile.am
@@ -29,6 +29,5 @@ pam_mail_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_mkhomedir/Makefile.am b/modules/pam_mkhomedir/Makefile.am
index 47aea856..97fdbf11 100644
--- a/modules/pam_mkhomedir/Makefile.am
+++ b/modules/pam_mkhomedir/Makefile.am
@@ -36,6 +36,5 @@ mkhomedir_helper_LDADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_motd/Makefile.am b/modules/pam_motd/Makefile.am
index 0554df82..00124d70 100644
--- a/modules/pam_motd/Makefile.am
+++ b/modules/pam_motd/Makefile.am
@@ -29,6 +29,5 @@ pam_motd_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_namespace/Makefile.am b/modules/pam_namespace/Makefile.am
index 9bc3956e..9d256550 100644
--- a/modules/pam_namespace/Makefile.am
+++ b/modules/pam_namespace/Makefile.am
@@ -50,6 +50,5 @@ uninstall-local:
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_nologin/Makefile.am b/modules/pam_nologin/Makefile.am
index 234de54a..ae13a69d 100644
--- a/modules/pam_nologin/Makefile.am
+++ b/modules/pam_nologin/Makefile.am
@@ -29,6 +29,5 @@ pam_nologin_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_permit/Makefile.am b/modules/pam_permit/Makefile.am
index 226cece7..33aa32c4 100644
--- a/modules/pam_permit/Makefile.am
+++ b/modules/pam_permit/Makefile.am
@@ -29,6 +29,5 @@ pam_permit_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_pwhistory/Makefile.am b/modules/pam_pwhistory/Makefile.am
index 788d04a8..af8bcb43 100644
--- a/modules/pam_pwhistory/Makefile.am
+++ b/modules/pam_pwhistory/Makefile.am
@@ -33,6 +33,5 @@ pam_pwhistory_la_SOURCES = pam_pwhistory.c opasswd.c
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_rhosts/Makefile.am b/modules/pam_rhosts/Makefile.am
index c7af7c10..0fb78f40 100644
--- a/modules/pam_rhosts/Makefile.am
+++ b/modules/pam_rhosts/Makefile.am
@@ -30,6 +30,5 @@ pam_rhosts_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_rootok/Makefile.am b/modules/pam_rootok/Makefile.am
index 85f78bf2..66344eae 100644
--- a/modules/pam_rootok/Makefile.am
+++ b/modules/pam_rootok/Makefile.am
@@ -29,6 +29,5 @@ pam_rootok_la_LIBADD = $(top_builddir)/libpam/libpam.la @LIBSELINUX@ @LIBAUDIT@
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_securetty/Makefile.am b/modules/pam_securetty/Makefile.am
index ff4f4218..40b613d5 100644
--- a/modules/pam_securetty/Makefile.am
+++ b/modules/pam_securetty/Makefile.am
@@ -32,7 +32,6 @@ pam_securetty_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-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 6aa99579..f97808c6 100644
--- a/modules/pam_selinux/Makefile.am
+++ b/modules/pam_selinux/Makefile.am
@@ -33,6 +33,5 @@ pam_selinux_check_LDADD = $(top_builddir)/libpam/libpam.la \
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_sepermit/Makefile.am b/modules/pam_sepermit/Makefile.am
index 4fcb3d50..066b1444 100644
--- a/modules/pam_sepermit/Makefile.am
+++ b/modules/pam_sepermit/Makefile.am
@@ -38,6 +38,5 @@ install-data-local:
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_setquota/Makefile.am b/modules/pam_setquota/Makefile.am
index 83c26f46..6b40f932 100644
--- a/modules/pam_setquota/Makefile.am
+++ b/modules/pam_setquota/Makefile.am
@@ -25,6 +25,5 @@ pam_setquota_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_shells/Makefile.am b/modules/pam_shells/Makefile.am
index 1ffcbc6a..e93f63b0 100644
--- a/modules/pam_shells/Makefile.am
+++ b/modules/pam_shells/Makefile.am
@@ -29,6 +29,5 @@ pam_shells_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-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 97fe5c94..fff6ffe3 100644
--- a/modules/pam_succeed_if/Makefile.am
+++ b/modules/pam_succeed_if/Makefile.am
@@ -30,6 +30,5 @@ pam_succeed_if_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_tally/Makefile.am b/modules/pam_tally/Makefile.am
index 531f0e04..a8c48f0c 100644
--- a/modules/pam_tally/Makefile.am
+++ b/modules/pam_tally/Makefile.am
@@ -35,6 +35,5 @@ pam_tally_SOURCES = pam_tally_app.c
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_tally2/Makefile.am b/modules/pam_tally2/Makefile.am
index dbe1d0b8..49ccdaff 100644
--- a/modules/pam_tally2/Makefile.am
+++ b/modules/pam_tally2/Makefile.am
@@ -39,6 +39,5 @@ pam_tally2_SOURCES = pam_tally2_app.c
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_time/Makefile.am b/modules/pam_time/Makefile.am
index 566156fd..ce8418da 100644
--- a/modules/pam_time/Makefile.am
+++ b/modules/pam_time/Makefile.am
@@ -30,6 +30,5 @@ secureconf_DATA = time.conf
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_timestamp/Makefile.am b/modules/pam_timestamp/Makefile.am
index 7b945712..a5b292d8 100644
--- a/modules/pam_timestamp/Makefile.am
+++ b/modules/pam_timestamp/Makefile.am
@@ -46,7 +46,6 @@ hmacfile_LDADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-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 19a2f237..cbd2e5f6 100644
--- a/modules/pam_tty_audit/Makefile.am
+++ b/modules/pam_tty_audit/Makefile.am
@@ -27,6 +27,5 @@ securelib_LTLIBRARIES = pam_tty_audit.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_umask/Makefile.am b/modules/pam_umask/Makefile.am
index 5a7c2ca4..b0f1f5c8 100644
--- a/modules/pam_umask/Makefile.am
+++ b/modules/pam_umask/Makefile.am
@@ -30,6 +30,5 @@ pam_umask_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_unix/Makefile.am b/modules/pam_unix/Makefile.am
index a893c713..3e72736f 100644
--- a/modules/pam_unix/Makefile.am
+++ b/modules/pam_unix/Makefile.am
@@ -59,6 +59,5 @@ unix_update_LDADD = @LIBCRYPT@ @LIBSELINUX@
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_userdb/Makefile.am b/modules/pam_userdb/Makefile.am
index 56747481..bb6366a7 100644
--- a/modules/pam_userdb/Makefile.am
+++ b/modules/pam_userdb/Makefile.am
@@ -31,6 +31,5 @@ noinst_HEADERS = pam_userdb.h
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_usertype/Makefile.am b/modules/pam_usertype/Makefile.am
index 2fd1ac38..c4e691b6 100644
--- a/modules/pam_usertype/Makefile.am
+++ b/modules/pam_usertype/Makefile.am
@@ -31,6 +31,5 @@ pam_usertype_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_warn/Makefile.am b/modules/pam_warn/Makefile.am
index 3cd9b90b..f1f33a3c 100644
--- a/modules/pam_warn/Makefile.am
+++ b/modules/pam_warn/Makefile.am
@@ -29,6 +29,5 @@ pam_warn_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_wheel/Makefile.am b/modules/pam_wheel/Makefile.am
index 1995f1f2..cd02ec57 100644
--- a/modules/pam_wheel/Makefile.am
+++ b/modules/pam_wheel/Makefile.am
@@ -29,6 +29,5 @@ pam_wheel_la_LIBADD = $(top_builddir)/libpam/libpam.la
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif
diff --git a/modules/pam_xauth/Makefile.am b/modules/pam_xauth/Makefile.am
index afda1834..446fe332 100644
--- a/modules/pam_xauth/Makefile.am
+++ b/modules/pam_xauth/Makefile.am
@@ -29,6 +29,5 @@ pam_xauth_la_LIBADD = $(top_builddir)/libpam/libpam.la @LIBSELINUX@
if ENABLE_REGENERATE_MAN
noinst_DATA = README
-README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif