From: Jim Meyering Date: Thu, 26 Jun 2008 20:45:33 +0000 (+0200) Subject: tests: fix make distcheck failure due to TODO change X-Git-Tag: v7.0~149 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fcd8cf8b40057cc67c6c56349450ebfd3690dae;p=platform%2Fupstream%2Fcoreutils.git 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. --- diff --git a/maint.mk b/maint.mk index 0a82a99..a011a11 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]) \