From: David Schleef Date: Wed, 3 Apr 2002 07:10:42 +0000 (+0000) Subject: Add more documentation checking X-Git-Tag: r0_7_64~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=73352262745ad9a4d167e1a95c6fceccec9df058;p=comedi.git Add more documentation checking --- diff --git a/scripts/check_driver b/scripts/check_driver index 85c6ff54..78c8e33b 100755 --- a/scripts/check_driver +++ b/scripts/check_driver @@ -311,6 +311,26 @@ if grep "^Driver: ${basedriver}.o$" $driver &>/dev/null;then else echo "E: documentation: no Devices:" fi + if grep "^Author:" $driver &>/dev/null;then + echo "has author documentation" + else + echo "E: documentation: no Author:" + fi + if grep "^Status:" $driver &>/dev/null;then + echo "has status documentation" + else + echo "E: documentation: no Status:" + fi + if grep "^Updated:" $driver &>/dev/null;then + echo "has updated documentation" + else + echo "E: documentation: no Updated:" + fi + if grep "^Description:" $driver &>/dev/null;then + echo "has description documentation" + else + echo "E: documentation: no Description:" + fi else echo "E: not documented in source" fi