summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-06-26 22:45:33 +0200
committerJim Meyering <meyering@redhat.com>2008-06-26 22:45:57 +0200
commit1fcd8cf8b40057cc67c6c56349450ebfd3690dae (patch)
tree107fa2c983807109fb2656fc96e1d1971e2777f1 /maint.mk
parent595fc63c4229813d637c382a5da6cede32d22a18 (diff)
downloadcoreutils-1fcd8cf8b40057cc67c6c56349450ebfd3690dae.tar.xz
tests: fix make distcheck failure due to TODO change
* maint.mk (po-check): Limit check for e.g., _(...)-marked messages to files matching *.? and *.??, thus excluding TODO and *.diff.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/maint.mk b/maint.mk
index 0a82a9902..a011a11eb 100644
--- a/maint.mk
+++ b/maint.mk
@@ -573,16 +573,15 @@ m4-check:
exit 1; } || :
# Verify that all source files using _() are listed in po/POTFILES.in.
-# FIXME: don't hard-code file names below; use a more general mechanism.
po-check:
- @if test -f po/POTFILES.in; then \
+ @if test -f po/POTFILES.in; then \
grep -E -v '^(#|$$)' po/POTFILES.in \
| grep -v '^src/false\.c$$' | sort > $@-1; \
files=; \
for file in $$($(VC_LIST_EXCEPT)) lib/*.[ch]; do \
case $$file in \
- djgpp/* | man/*) continue;; \
- */c99-to-c89.diff) continue;; \
+ *.?|*.??) ;; \
+ *) continue;; \
esac; \
case $$file in \
*.[ch]) \