From 73d0e21810e0d7dd1b66ed1cf4b2e9c6dee27a83 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Mon, 5 Mar 2012 11:44:51 +0100 Subject: [PATCH] Rename check-man to check-man-warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently the check-man test is dependent on the MAN_HAS_WARNINGS test, which made sense as long as the script only did the warnings check. However, we should run the [em] tests always, and in general we could run other tests too, even if man doesn't support --warnings; so let's split the check man. As a first prerequisite, we rename check-man to check-man-warnings (and the respective Makefile variables). Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: RenΓ© Nussbaumer <rn@google.com> --- Makefile.am | 6 +++--- autotools/{check-man => check-man-warnings} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename autotools/{check-man => check-man-warnings} (100%) diff --git a/Makefile.am b/Makefile.am index 5ca0d3e4c..7f0b2f1c1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,7 @@ BUILD_BASH_COMPLETION = $(top_srcdir)/autotools/build-bash-completion RUN_IN_TEMPDIR = $(top_srcdir)/autotools/run-in-tempdir CHECK_PYTHON_CODE = $(top_srcdir)/autotools/check-python-code CHECK_HEADER = $(top_srcdir)/autotools/check-header -CHECK_MAN = $(top_srcdir)/autotools/check-man +CHECK_MAN_WARNINGS = $(top_srcdir)/autotools/check-man-warnings CHECK_VERSION = $(top_srcdir)/autotools/check-version CHECK_NEWS = $(top_srcdir)/autotools/check-news CHECK_IMPORTS = $(top_srcdir)/autotools/check-imports @@ -590,7 +590,7 @@ EXTRA_DIST = \ autotools/check-header \ autotools/check-python-code \ autotools/check-imports \ - autotools/check-man \ + autotools/check-man-warnings \ autotools/check-news \ autotools/check-tar \ autotools/check-version \ @@ -922,7 +922,7 @@ man/%.7.in man/%.8.in man/%.1.in: man/%.gen man/footer.man trap 'echo auto-removing $@; rm $@' EXIT; \ $(PANDOC) -s -f rst -t man -A man/footer.man $< | \ sed -e 's/\\@/@/g' > $@; \ - if test -n "$(MAN_HAS_WARNINGS)"; then $(CHECK_MAN) $@; fi; \ + if test -n "$(MAN_HAS_WARNINGS)"; then $(CHECK_MAN_WARNINGS) $@; fi; \ trap - EXIT diff --git a/autotools/check-man b/autotools/check-man-warnings similarity index 100% rename from autotools/check-man rename to autotools/check-man-warnings -- GitLab