From 2fe59d002e385ae9357f24e3d1e91b45d856ac14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Sat, 30 Jan 2010 17:32:18 +0100 Subject: Check manpages --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 28f95ed..e581721 100644 --- a/Makefile +++ b/Makefile @@ -151,6 +151,12 @@ CHECK_SCRIPTS += \ pbuilder-uml.conf \ $(NULL) +NOINST_MANPAGES += \ + debuild-pbuilder.1 \ + pbuilder.8 \ + pbuilderrc.5 \ + pdebuild.1 \ + $(NULL) NOINST_SCRIPTS += \ debuild.sh \ testlib.sh \ @@ -162,10 +168,9 @@ NOINST_SCRIPTS += \ test_pbuilder-satisfydepends-funcs \ test_testlib.sh \ $(NULL) +CHECK_MANPAGES += $(NOINST_MANPAGES) CHECK_SCRIPTS += $(NOINST_SCRIPTS) -# TODO: check man pages - # TODO: check subdirs etc. CHECK_SCRIPTS += $(foreach d,$(ALLDIRS),$($(d)_SCRIPTS)) @@ -175,6 +180,7 @@ all: check: # syntax check $(foreach script,$(CHECK_SCRIPTS),bash -n $(script)$(newline)) + $(foreach mp,$(CHECK_MANPAGES),LANG=C MANWIDTH=80 man --warnings -E UTF-8 -l $(mp) >/dev/null$(newline)) # testsuite $(foreach test,$(wildcard ./test_*),$(test)$(newline)) -- cgit v1.2.3