diff options
author | Jim Meyering <jim@meyering.net> | 1999-08-07 10:41:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-08-07 10:41:00 +0000 |
commit | 16fa90f7d052e55f59efdc0b22f6ad95cc8e9ce8 (patch) | |
tree | 776ea225473eea53b6fe6f9eeb7caf521e51572e | |
parent | aeb6ea6c01f18906802c24a6bc5d225334e244aa (diff) | |
download | coreutils-16fa90f7d052e55f59efdc0b22f6ad95cc8e9ce8.tar.xz |
(po-check): New rule.
(alpha): Make it.
-rw-r--r-- | Makefile.maint | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.maint b/Makefile.maint index a293c3276..54d846ff2 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 |