]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(po-check): Check for uses of _() not just in .c files, but also in .h files.
authorJim Meyering <jim@meyering.net>
Sat, 1 Dec 2001 17:56:23 +0000 (17:56 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 1 Dec 2001 17:56:23 +0000 (17:56 +0000)
Makefile.maint

index f36605831c0277a4ae06bffbe2a59799a2bf90be..20db9cef7c72d5dece41fb5e44218e353243d57f 100644 (file)
@@ -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