Tools: add check-makefile.sh script to tools
This commit is contained in:
parent
477e6896a9
commit
b773217b54
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo Check makefiles for missing .c or .h files
|
||||
|
||||
cd `dirname $0`/..
|
||||
|
||||
for i in `git ls-files *.c *.h`; do
|
||||
pushd `dirname $i` >/dev/null
|
||||
f=`basename $i`
|
||||
if ! grep -q $f Makefile.am; then
|
||||
echo $i
|
||||
fi
|
||||
popd >/dev/null
|
||||
done
|
Loading…
Reference in New Issue