pango r2558 - trunk/docs
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2558 - trunk/docs
- Date: Mon, 28 Jan 2008 21:22:48 +0000 (GMT)
Author: behdad
Date: Mon Jan 28 21:22:48 2008
New Revision: 2558
URL: http://svn.gnome.org/viewvc/pango?rev=2558&view=rev
Log:
Minor
Modified:
trunk/docs/check.docs
Modified: trunk/docs/check.docs
==============================================================================
--- trunk/docs/check.docs (original)
+++ trunk/docs/check.docs Mon Jan 28 21:22:48 2008
@@ -23,17 +23,21 @@
status=0
-unused=`cat "$DOC_MODULE-unused.txt"`
-if test -n "$unused"; then
- echo Unused documentated symbols: 1>&2
- cat "$DOC_MODULE-unused.txt" 1>&2
- status=1
+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
+ cat "$DOC_MODULE-unused.txt" 1>&2
+ status=1
+ fi
fi
-if ! grep '^0 symbols incomplete' "$DOC_MODULE-undocumented.txt" >/dev/null ||
- ! grep '^0 not documented' "$DOC_MODULE-undocumented.txt" >/dev/null; then
- echo Incomplete or undocumented symbols: 1>&2
- cat "$DOC_MODULE-undocumented.txt" 1>&2
- status=1
+if test -f "$DOC_MODULE-undocumented.txt"; then
+ if ! grep '^0 symbols incomplete' "$DOC_MODULE-undocumented.txt" >/dev/null ||
+ ! grep '^0 not documented' "$DOC_MODULE-undocumented.txt" >/dev/null; then
+ echo Incomplete or undocumented symbols: 1>&2
+ cat "$DOC_MODULE-undocumented.txt" 1>&2
+ status=1
+ fi
fi
exit $status
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]