diff options
author | Jim Meyering <jim@meyering.net> | 2001-08-13 10:27:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-08-13 10:27:02 +0000 |
commit | 4c83ec781b02b43c16f0d82c8c5c830721b138e6 (patch) | |
tree | b0bce322f7670f2616bd1d16fbb3fed7284dbc8d | |
parent | 63cf4a98932dada020f9f5cd187167c826688378 (diff) | |
download | coreutils-4c83ec781b02b43c16f0d82c8c5c830721b138e6.tar.xz |
(author_mark_check): New rule.
(local-check): Depend on it.
-rw-r--r-- | Makefile.maint | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint index 8119cacae..e56cb7b1f 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -47,6 +47,14 @@ po-check: rm -f $@-1 $@-2; \ fi +# In a definition of #define AUTHORS "... and ..." where the RHS contains +# the English word `and', the string must be marked with `N_ (...)' so that +# gettext recognizes it as a string requiring translation. +author_mark_check: + @grep '^# *define AUTHORS "[^"]* and ' src/*.c |grep -v ' N_ (' && \ + { echo 'Makefile.maint: enclose the above strings in N_ (...)' 1>&2; \ + exit 1; } || : + # Check that `make alpha' will not fail at the end of the process. writable-files: if test -d $(release-archive-dir); then :; else \ @@ -62,7 +70,8 @@ writable-files: test "$$fail" && exit 1 || : # Checks that don't require cvs. -local-check: changelog-check po-check writable-files check-copyright m4-check +local-check: changelog-check po-check writable-files check-copyright m4-check \ + author_mark_check # Sanity checks with the CVS repository. |