diff options
author | Jim Meyering <jim@meyering.net> | 2012-09-17 11:51:05 +0200 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-09-19 14:12:39 +0100 |
commit | aa76e507d2c12a196c2c9bfe148f20f2020ecea9 (patch) | |
tree | 76583fdbc0db51e9652c11e2e74de42339be1af3 | |
parent | 66b2d90a233c7feb3c67aee7d260adcac7b4a060 (diff) | |
download | libguestfs-aa76e507d2c12a196c2c9bfe148f20f2020ecea9.tar.gz libguestfs-aa76e507d2c12a196c2c9bfe148f20f2020ecea9.tar.xz libguestfs-aa76e507d2c12a196c2c9bfe148f20f2020ecea9.zip |
maint: remove a subsumed syntax-check rule
* cfg.mk (sc_prohibit_trailing_blank_lines): Remove rule. It is now
subsumed by the much more efficient sc_prohibit_empty_lines_at_EOF
rule in gnulib's maint.mk.
(cherry picked from commit 176bd182d3f94fe7e774b8af0b56c014f639d6c7)
-rw-r--r-- | cfg.mk | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -1,5 +1,5 @@ # Customize Makefile.maint. -*- makefile -*- -# Copyright (C) 2003-2009 Free Software Foundation, Inc. +# Copyright (C) 2003-2012 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -115,16 +115,6 @@ sc_prohibit_gethostby: halt='use getaddrinfo, not gethostby*' \ $(_sc_search_regexp) -# Disallow trailing blank lines. -sc_prohibit_trailing_blank_lines: - @$(VC_LIST_EXCEPT) \ - | xargs perl -ln -0777 -e \ - '-f $$ARGV or next; /\n\n+$$/ and print $$ARGV' > $@-t - @found=0; test -s $@-t && { found=1; cat $@-t 1>&2; \ - echo '$(ME): found trailing blank line(s)' 1>&2; }; \ - rm -f $@-t; \ - test $$found = 0 - # We don't use this feature of maint.mk. prev_version_file = /dev/null |