maint.mk: detect missing-NL-at-EOF, too
authorJim Meyering <meyering@redhat.com>
Fri, 25 Feb 2011 19:18:02 +0000 (20:18 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 25 Feb 2011 19:18:57 +0000 (20:18 +0100)
commit47824c7263f9a4e10fbc60a944de741e0ead73b2
tree35dffea05c6b5de69e5d5993f9c220c92782fa4b
parent3d50b6043ac61690f0b163a1618cfd5516238c81
maint.mk: detect missing-NL-at-EOF, too

* top/maint.mk (sc_prohibit_empty_lines_at_EOF): Adjust so that
it also detects when a file lacks a newline at EOF.
(require_exactly_one_NL_at_EOF_): Renamed from
detect_empty_lines_at_EOF_.  I opted not to rename the rule,
since people may well have .x-sc_... file names tied to the
existing name.  Suggested by Eric Blake.
ChangeLog
top/maint.mk