checkDoc.sh 446 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. x=$(grep ingroup chapters/api/*|awk -F':' '{print $2}'| awk 'NF != 2')
  3. if test -n "$x" ; then
  4. echo Errors on group definitions
  5. echo $x
  6. fi
  7. echo
  8. echo "Defined groups"
  9. grep ingroup chapters/api/*|awk -F':' '{print $2}'| awk 'NF == 2'|sort|uniq
  10. echo
  11. for f in ../../build/doc/doxygen/latex/*tex ; do
  12. x=$(grep $(basename $f .tex) refman.tex)
  13. if test -z "$x" ; then
  14. echo Error. $f not included in refman.tex
  15. fi
  16. done