Browse Source

tools/dev/starpu_check_undocumented.sh: only grep .h files when looking for macros definitions

Nathalie Furmento 13 years ago
parent
commit
06216d05ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/dev/starpu_check_undocumented.sh

+ 1 - 1
tools/dev/starpu_check_undocumented.sh

@@ -56,7 +56,7 @@ done
 
 echo
 
-macros=$(grep "define\b" include/*|grep -v deprecated|grep "#" | grep -v "__" | sed 's/#[ ]*/#/g' | awk '{print $2}' | awk -F'(' '{print $1}' | sort|uniq)
+macros=$(grep "define\b" include/*.h |grep -v deprecated|grep "#" | grep -v "__" | sed 's/#[ ]*/#/g' | awk '{print $2}' | awk -F'(' '{print $1}' | sort|uniq)
 for macro in $macros ; do
     x=$(grep "$macro\b" doc/starpu.texi doc/chapters/*texi | grep defmac)
     if test "$x" == "" ; then