From 4b9b77a694af5a5114e70a7248bea8b7d21c3685 Mon Sep 17 00:00:00 2001 Message-Id: <4b9b77a694af5a5114e70a7248bea8b7d21c3685.1713407604.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 31 May 2008 18:54:25 +0100 Subject: [PATCH] warnings from man pages, if we have groff... Organization: Straylight/Edgeware From: Richard Kettlewell --- configure.ac | 3 +++ doc/Makefile.am | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac index 2d193ad..3459400 100644 --- a/configure.ac +++ b/configure.ac @@ -212,6 +212,9 @@ if test "$GNUSED" = "not found"; then fi AC_SUBST([GNUSED]) +AC_CHECK_PROGS([GROG],[grog]) +AM_CONDITIONAL([GROG],[test "x$GROG" != xnone]) + missing_libraries="" missing_headers="" missing_functions="" diff --git a/doc/Makefile.am b/doc/Makefile.am index 8a8b188..bf5dae3 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -74,6 +74,14 @@ disorder_actions.5.in: disorder_actions.5.head disorder_actions.5.tail \ cat ${srcdir}/disorder_actions.5.tail >> disorder_actions.5.new mv disorder_actions.5.new disorder_actions.5.in +if GROG +check: $(man_MANS) + @set -e; for m in $(man_MANS); do \ + echo \`$(GROG) $$m\` -Tutf8 -wall \>/dev/null ;\ + echo `$(GROG) $$m` -Tutf8 -wall >/dev/null ;\ + done +endif + EXTRA_DIST=disorderd.8.in disorder.1.in disorder_config.5.in \ disorder.3 disorder-dump.8.in disorder_protocol.5.in \ tkdisorder.1 disorder-deadlock.8.in disorder-rescan.8.in \ -- [mdw]