man: mention ltlsynt in spot(7)
Fixes #292. * bin/man/spot.x, bin/spot.cc: Add missing cross references. * tests/sanity/bin.test: Add safety checks so we do not forget again.
This commit is contained in:
parent
ba897bc3eb
commit
ddaaf2c1c8
3 changed files with 33 additions and 2 deletions
|
|
@ -55,6 +55,26 @@ do
|
|||
fi
|
||||
fi
|
||||
|
||||
case $binary in
|
||||
spot);;
|
||||
*)
|
||||
if ! grep -q "BR $binary " $top_srcdir/bin/man/spot.x; then
|
||||
echo "bin/$binary is not listed in bin/man/spot.x"
|
||||
exit_status=2
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
case $binary in
|
||||
spot);;
|
||||
spot-x);;
|
||||
*)
|
||||
if ! grep -q "\"$binary\"" $top_srcdir/bin/spot.cc; then
|
||||
echo "bin/$binary is not listed in bin/spot.cc"
|
||||
exit_status=2
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# All man pages
|
||||
case $manpage in
|
||||
*.1)
|
||||
|
|
@ -93,4 +113,12 @@ do
|
|||
|
||||
done
|
||||
|
||||
grep '^.BR [a-z0-9-]* ([0-9])' "$top_srcdir"/bin/man/spot.x |
|
||||
while read br tool num; do
|
||||
if ! test -f $top_builddir/bin/$tool; then
|
||||
echo "bin/man/spot.x mentions unexisting tool $tool"
|
||||
exit_status=2
|
||||
fi
|
||||
done
|
||||
|
||||
exit $exit_status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue