diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-20 16:03:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-20 16:03:58 +0000 |
commit | c279f529aab08f04333d8da3f21f7b894dd025bd (patch) | |
tree | 33d83873c02cb393cbe3f85972a928f72b0e3860 | |
parent | 72214f299034e2e1c82dac83287f0d82d142c0d3 (diff) | |
download | coreutils-c279f529aab08f04333d8da3f21f7b894dd025bd.tar.xz |
(sc_changelog): Add another nit-picky check.
-rw-r--r-- | Makefile.maint | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint index c6fbf8646..8e0dd8f3f 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -66,7 +66,8 @@ syntax-check-rules = \ sc_cast_of_x_alloc_return_value \ sc_space_tab \ sc_error_exit_success \ - sc_xalloc_h_in_src + sc_xalloc_h_in_src \ + sc_changelog syntax-check: $(syntax-check-rules) # @grep -E '# *include <(limits|std(def|arg|bool))\.h>' \ @@ -125,6 +126,12 @@ sc_xalloc_h_in_src: fi; \ fi +# Each nonempty line must start with a year number, or a TAB. +sc_changelog: + @grep '^[^12 ]' $$(find . -name ChangeLog -maxdepth 2) && \ + { echo '$(ME): found unexpected prefix in a ChangeLog' 1>&2; \ + exit 1; } || : + # Ensure that date's --help output stays in sync with the info # documentation for GNU strftime. The only exception is %N, # which date accepts but GNU strftime does not. |