Add more documentation checking
authorDavid Schleef <ds@schleef.org>
Wed, 3 Apr 2002 07:10:42 +0000 (07:10 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 3 Apr 2002 07:10:42 +0000 (07:10 +0000)
scripts/check_driver

index 85c6ff5470eaa29d21afb65c0e900565a94f064f..78c8e33ba0b7b327529769d963f049c3ec3a17c8 100755 (executable)
@@ -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