diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-30 17:32:18 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-30 17:32:18 +0100 |
commit | 2fe59d002e385ae9357f24e3d1e91b45d856ac14 (patch) | |
tree | cbaf1914bb4907ca3b0f8e5765524c7831ea7b13 /Makefile | |
parent | 6a7c480411b002ef95ee9a029eb140dcfb9eee97 (diff) | |
download | pbuilder-2fe59d002e385ae9357f24e3d1e91b45d856ac14.tar pbuilder-2fe59d002e385ae9357f24e3d1e91b45d856ac14.tar.gz |
Check manpages
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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)) |