mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 08:08:04 +02: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.
|
echo Be civil and replace it by 'Note' please.
|
||||||
fi >&2
|
fi >&2
|
||||||
|
|
||||||
if echo $FILES | xargs ./check-doc-syntax.awk ; then
|
# Only run the syntax checker on the source files (not doc/)
|
||||||
:
|
if -e ./check-doc-syntax.awk; then
|
||||||
else
|
if echo $FILES | xargs ./check-doc-syntax.awk ; then
|
||||||
stat=1
|
:
|
||||||
fi >&2
|
else
|
||||||
|
stat=1
|
||||||
|
fi >&2
|
||||||
|
fi
|
||||||
|
|
||||||
exit $stat
|
exit $stat
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue