]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Rename bracket-spacing.pl to check-spacing.pl
authorJán Tomko <jtomko@redhat.com>
Wed, 15 Jun 2016 07:15:38 +0000 (09:15 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 15 Jun 2016 13:07:47 +0000 (15:07 +0200)
We test whitespace with lots of other characters now.

build-aux/check-spacing.pl [moved from build-aux/bracket-spacing.pl with 98% similarity]
cfg.mk

similarity index 98%
rename from build-aux/bracket-spacing.pl
rename to build-aux/check-spacing.pl
index 5bc96d27500f3d0f19d0be40751e7befa608e219..83b58987b2275677f478ceabd4ad963f222c91eb 100755 (executable)
@@ -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 d75ae0e2164f5bb6ad28c4982c6b78218b429563..297ca3a4dfa4e7cde7eade7283ac4c80d4112558 100644 (file)
--- 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; }