瀏覽代碼

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

Nathalie Furmento 13 年之前
父節點
當前提交
06216d05ff
共有 1 個文件被更改,包括 1 次插入1 次删除
  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