summaryrefslogtreecommitdiff
path: root/man/Rules.man
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-03-09 11:32:30 +0000
committerColin Watson <cjwatson@debian.org>2009-03-09 11:32:30 +0000
commit98fb9b7c226da5b1f182c0d500ed22ef302bcec9 (patch)
tree4357f5afec05c5cf130b4f29770588267b402a6e /man/Rules.man
parent51ba089196e93180d4b2ee38d7340372cfe125f1 (diff)
* man/check-man: Check that a manual page formats without errors;
inspired by Lintian. * man/Rules.man: Run check-man over all manual pages during '\''make check'\''.
Diffstat (limited to 'man/Rules.man')
-rw-r--r--man/Rules.man4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/Rules.man b/man/Rules.man
index 561c6faa..9d2664a7 100644
--- a/man/Rules.man
+++ b/man/Rules.man
@@ -23,6 +23,10 @@ mandir = @mandir@/$(LINGUA)
CLEANFILES = $(man1_MANS) $(man5_MANS) $(man8_MANS) replace.sed
+export top_builddir LINGUA EGREP
+TESTS_ENVIRONMENT = @SHELL@ $(top_srcdir)/man/check-man
+TESTS = $(man1_MANS) $(man5_MANS) $(man8_MANS)
+
replace.sed: $(top_builddir)/man/replace.sin
sed -e 's,%REPLACE_CONFIG_FILE%,$(config_file),g' $(top_builddir)/man/replace.sin > $@