mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Test for the documentation.
This commit is contained in:
parent
3d4ed1ff8d
commit
3c2bf549b9
9
maint/doctest
Executable file
9
maint/doctest
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user