summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-04-10 14:19:11 +0200
committerJim Meyering <meyering@redhat.com>2010-04-10 20:26:39 +0200
commit8c4b6ba09be4eb3e7b2373a4b2d6c908c0836eaa (patch)
treeb6b5b7161f2c35389972d2f8c67aa2bea3928b12 /Makefile.am
parentac6feeb9f226247a53ab5b6c3aa24e40caabdc40 (diff)
downloadcoreutils-8c4b6ba09be4eb3e7b2373a4b2d6c908c0836eaa.tar.xz
maint: new syntax-check rule: prohibit empty lines at EOF
* cfg.mk (detect_empty_lines_at_EOF_): Define. (sc_prohibit_empty_lines_at_EOF): New rule. * .x-sc_prohibit_empty_lines_at_EOF: New file. Exempt pr test inputs. * Makefile.am (syntax_check_exceptions): Add it. Pádraig Brady suggested to parse the output of tail -n1.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 1eb9c12c9..9a7f45c66 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,6 +47,7 @@ syntax_check_exceptions = \
.x-sc_po_check \
.x-sc_program_name \
.x-sc_prohibit_atoi_atof \
+ .x-sc_prohibit_empty_lines_at_EOF \
.x-sc_prohibit_fail_0 \
.x-sc_prohibit_magic_number_exit \
.x-sc_prohibit_stat_st_blocks \