asd 1.29.1
authorJavier Jardón <jjardon@gnome.org>
Thu, 16 Jun 2011 18:01:00 +0000 (19:01 +0100)
committerJavier Jardón <jjardon@gnome.org>
Thu, 16 Jun 2011 18:01:00 +0000 (19:01 +0100)
docs/check.docs

index 1cf051b..d6471dc 100755 (executable)
@@ -23,7 +23,7 @@ stat=0
 if test -f "$DOC_MODULE-undeclared.txt"; then
        undeclared=`cat "$DOC_MODULE-undeclared.txt"`
        if test -n "$undeclared"; then
-               echo Undeclared documentation symbols: 1>&2
+               echo "*** ERROR: Undeclared documentation symbols:" 1>&2
                cat "$DOC_MODULE-undeclared.txt" 1>&2
                stat=1
        fi
@@ -31,7 +31,7 @@ fi >&2
 if test -f "$DOC_MODULE-unused.txt"; then
        unused=`cat "$DOC_MODULE-unused.txt"`
        if test -n "$unused"; then
-               echo Unused documentated symbols: 1>&2
+               echo "*** ERROR: Unused documentated symbols:" 1>&2
                cat "$DOC_MODULE-unused.txt" 1>&2
                stat=1
        fi
@@ -41,10 +41,8 @@ if test -f "$DOC_MODULE-undocumented.txt"; then
           grep '^0 not documented'     "$DOC_MODULE-undocumented.txt" >/dev/null; then
                :
        else
-               echo Incomplete or undocumented symbols: 1>&2
+               echo "*** ERROR: Incomplete or undocumented symbols:" 1>&2
                cat "$DOC_MODULE-undocumented.txt" 1>&2
                stat=1
        fi
 fi >&2
-
-exit $stat