From: Jim Meyering Date: Sat, 1 Dec 2001 17:56:23 +0000 (+0000) Subject: (po-check): Check for uses of _() not just in .c files, but also in .h files. X-Git-Tag: TEXTUTILS-2_0_18~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=857292745407481a84eda9e7f56c42ae3fefddbe;p=thirdparty%2Fcoreutils.git (po-check): Check for uses of _() not just in .c files, but also in .h files. --- diff --git a/Makefile.maint b/Makefile.maint index f36605831c..20db9cef7c 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -74,7 +74,7 @@ m4-check: po-check: if test -f po/POTFILES.in; then \ grep -E -v '^(#|$$)' po/POTFILES.in | sort > $@-1; \ - grep -E -l '\b_\(' lib/*.c src/*.c | sort > $@-2; \ + grep -E -l '\b_\(' lib/*.[ch] src/*.[ch] | sort > $@-2; \ diff -u $@-1 $@-2 || exit 1; \ rm -f $@-1 $@-2; \ fi