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-17 11:05:34 +0100 |
commit | 176bd182d3f94fe7e774b8af0b56c014f639d6c7 (patch) | |
tree | 7d09f152c8fe4db39109a31d07543bfea7c9ec44 | |
parent | 3988dec9b7bbf3cb8628aff879d1f518a9d52404 (diff) | |
download | libguestfs-176bd182d3f94fe7e774b8af0b56c014f639d6c7.tar.gz libguestfs-176bd182d3f94fe7e774b8af0b56c014f639d6c7.tar.xz libguestfs-176bd182d3f94fe7e774b8af0b56c014f639d6c7.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.
-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 |