diff --git a/src/check-c-linkage-decls.sh b/src/check-c-linkage-decls.sh index c262516db..711d089a8 100755 --- a/src/check-c-linkage-decls.sh +++ b/src/check-c-linkage-decls.sh @@ -8,7 +8,7 @@ stat=0 cd "$srcdir" -for x in *.c *.cc *.h *.hh ; do +for x in hb-*.c hb-*.cc hb-*.h hb-*.hh ; do if ! grep -q HB_BEGIN_DECLS "$x" || ! grep -q HB_END_DECLS "$x"; then echo "Ouch, file $x does not HB_BEGIN_DECLS / HB_END_DECLS" stat=1 diff --git a/src/check-header-guards.sh b/src/check-header-guards.sh index 59c399a2d..c966cd2f1 100755 --- a/src/check-header-guards.sh +++ b/src/check-header-guards.sh @@ -8,7 +8,7 @@ stat=0 cd "$srcdir" -for x in *.h *.hh ; do +for x in hb-*.h hb-*.hh ; do tag=`echo "$x" | tr 'a-z.-' 'A-Z_'` lines=`grep "\<$tag\>" "$x" | wc -l` if test "x$lines" != x3; then