Rename bracket-spacing.pl to check-spacing.pl

We test whitespace with lots of other characters now.
This commit is contained in:
Ján Tomko 2016-06-15 09:15:38 +02:00
parent b918d76fd6
commit 4e1a7dbb31
2 changed files with 4 additions and 4 deletions

View File

@ -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

6
cfg.mk
View File

@ -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; }