mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-11 08:40:15 +01:00
check-doc-syntax: Only parse the source files for incorrect tags
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
c16cdf0b4e
commit
ed90616b77
1 changed files with 8 additions and 5 deletions
|
|
@ -70,10 +70,13 @@ if echo $FILES | xargs grep "$note_regexp" /dev/null; then
|
|||
echo Be civil and replace it by 'Note' please.
|
||||
fi >&2
|
||||
|
||||
if echo $FILES | xargs ./check-doc-syntax.awk ; then
|
||||
:
|
||||
else
|
||||
stat=1
|
||||
fi >&2
|
||||
# Only run the syntax checker on the source files (not doc/)
|
||||
if -e ./check-doc-syntax.awk; then
|
||||
if echo $FILES | xargs ./check-doc-syntax.awk ; then
|
||||
:
|
||||
else
|
||||
stat=1
|
||||
fi >&2
|
||||
fi
|
||||
|
||||
exit $stat
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue