summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-12-01 17:56:23 +0000
committerJim Meyering <jim@meyering.net>2001-12-01 17:56:23 +0000
commit857292745407481a84eda9e7f56c42ae3fefddbe (patch)
tree3a8660e9dc735269ff312cc7484c8fb5ed775885 /Makefile.maint
parentb3fca9f7f679373b1f799232b823426366e0884d (diff)
downloadcoreutils-857292745407481a84eda9e7f56c42ae3fefddbe.tar.xz
(po-check): Check for uses of _() not just in .c files, but also in .h files.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index f36605831..20db9cef7 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