From: Ján Tomko Date: Wed, 15 Jun 2016 07:15:38 +0000 (+0200) Subject: Rename bracket-spacing.pl to check-spacing.pl X-Git-Tag: v2.0.0-rc1~219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e1a7dbb310c8fadbb4ece5c367bffcbc6ff0801;p=thirdparty%2Flibvirt.git Rename bracket-spacing.pl to check-spacing.pl We test whitespace with lots of other characters now. --- diff --git a/build-aux/bracket-spacing.pl b/build-aux/check-spacing.pl similarity index 98% rename from build-aux/bracket-spacing.pl rename to build-aux/check-spacing.pl index 5bc96d2750..83b58987b2 100755 --- a/build-aux/bracket-spacing.pl +++ b/build-aux/check-spacing.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# bracket-spacing.pl: Report any usage of 'function (..args..)' +# check-spacing.pl: Report any usage of 'function (..args..)' # Also check for other syntax issues, such as correct use of ';' # # This library is free software; you can redistribute it and/or diff --git a/cfg.mk b/cfg.mk index d75ae0e216..297ca3a4df 100644 --- a/cfg.mk +++ b/cfg.mk @@ -1097,12 +1097,12 @@ _autogen: # regenerate HACKING as part of the syntax-check ifneq ($(_gl-Makefile),) -syntax-check: $(top_srcdir)/HACKING bracket-spacing-check test-wrap-argv +syntax-check: $(top_srcdir)/HACKING spacing-check test-wrap-argv endif -bracket-spacing-check: +spacing-check: $(AM_V_GEN)files=`$(VC_LIST) | grep '\.c$$'`; \ - $(PERL) $(top_srcdir)/build-aux/bracket-spacing.pl $$files || \ + $(PERL) $(top_srcdir)/build-aux/check-spacing.pl $$files || \ { echo '$(ME): incorrect formatting, see HACKING for rules' 1>&2; \ exit 1; }