1234567891011121314151617 |
- #!/bin/bash
- stcolor=$(tput sgr0)
- redcolor=$(tput setaf 1)
- functions=$(grep 'starpu.*(.*);' include/*.h | awk -F':' '{print $2}' | sed 's/(.*//' | sed 's/.* //'| tr -d ' ' | tr -d '*')
- for func in $functions ; do
- #echo Processing function $func
- x=$(grep $func doc/starpu.texi | grep deftypefun)
- if test "$x" == "" ; then
- echo "Error. Function ${redcolor}${func}${stcolor} is not (or incorrectly) documented"
- fi
- done
|