From: Jim Meyering Date: Sat, 7 Aug 1999 10:41:00 +0000 (+0000) Subject: (po-check): New rule. X-Git-Tag: SH-UTILS-1_16m~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16fa90f7d052e55f59efdc0b22f6ad95cc8e9ce8;p=thirdparty%2Fcoreutils.git (po-check): New rule. (alpha): Make it. --- diff --git a/Makefile.maint b/Makefile.maint index a293c32768..54d846ff25 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -18,6 +18,12 @@ tag-prev-version = $(subst .,_,$(prev-version)) this-cvs-tag = $(tag-package)-$(tag-this-version) prev-cvs-tag = $(tag-package)-$(tag-prev-version) +# Verify that all source files using _() are listed in po/POTFILES.in. +po-check: + grep -E -v '^(#|$$)' po/POTFILES.in | sort > $@-1 + grep -E -l '\b_\(' lib/*.c src/*.c | sort > $@-2 + diff -u $@-1 $@-2 + rm -f $@-1 $@-2 # Tag before making distribution. Also, don't make a distribution if # checks fail. Also, make sure the NEWS file is up-to-date. @@ -108,6 +114,7 @@ announcement: NEWS ChangeLog $(distdir).tar.gz ) alpha: + $(MAKE) po-check $(MAKE) cvs-dist $(MAKE) -s announcement > /tmp/announce-$(distdir) ln $(distdir).tar.gz ../release