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.
This commit is contained in:
Dmitry V. Levin 2020-04-27 15:34:04 +00:00
parent bd849daab0
commit 1886b6020c
46 changed files with 2 additions and 45 deletions

View File

@ -2,6 +2,8 @@
# Copyright (c) 2006 Thorsten Kukuk <kukuk@thkukuk.de>
#
README: $(XMLS)
README: README.xml
$(XSLTPROC) --path $(srcdir) --xinclude --stringparam generate.toc "none" $(XSLTPROC_CUSTOM) --nonet $(top_srcdir)/doc/custom-html.xsl $< | $(BROWSER) > $(srcdir)/$@

View File

@ -33,7 +33,6 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -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

View File

@ -29,6 +29,5 @@ TESTS = tst-pam_debug
if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -30,7 +30,6 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -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

View File

@ -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

View File

@ -30,7 +30,6 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -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

View File

@ -32,6 +32,5 @@ TESTS = tst-pam_filter
if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -29,6 +29,5 @@ TESTS = tst-pam_ftp
if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -31,6 +31,5 @@ TESTS = tst-pam_group
if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -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

View File

@ -15,7 +15,6 @@ TESTS = tst-pam_keyinit
if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -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

View File

@ -33,7 +33,6 @@ secureconf_DATA = limits.conf
if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -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

View File

@ -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

View File

@ -30,7 +30,6 @@ if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -50,6 +50,5 @@ uninstall-local:
if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -38,6 +38,5 @@ install-data-local:
if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -30,6 +30,5 @@ secureconf_DATA = time.conf
if ENABLE_REGENERATE_MAN
noinst_DATA = README
README: $(XMLS)
-include $(top_srcdir)/Make.xml.rules
endif

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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