From 3c2bf549b90ac49f20abfa227c25f12437d3063d Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Wed, 30 Oct 2002 07:37:53 +0000 Subject: [PATCH] Test for the documentation. --- maint/doctest | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 maint/doctest diff --git a/maint/doctest b/maint/doctest new file mode 100755 index 000000000..ae3f7e4f3 --- /dev/null +++ b/maint/doctest @@ -0,0 +1,9 @@ +#!/bin/sh + +# Test the documentation for possible errors. +find doc -name '*.[1-9].in' -exec groff -wall -mandoc -Tps {} \; >/dev/null 2>doctest-ps.out +find doc -name '*.[1-9].in' -exec groff -wall -mandoc -Tdvi {} \; >/dev/null 2>doctest-dvi.out +find doc -name '*.[1-9].in' -exec nroff -mandoc -Tlatin1 {} \; >/dev/null 2>doctest-nroff.out + +# Check English manuals to be in ASCII. +find doc -maxdepth 1 -name '*.[1-9].in' -exec groff -wall -Tascii {} \; >/dev/null 2>doctest-ascii.out