mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
Rename bracket-spacing.pl to check-spacing.pl
We test whitespace with lots of other characters now.
This commit is contained in:
parent
b918d76fd6
commit
4e1a7dbb31
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/perl
|
#!/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 ';'
|
# Also check for other syntax issues, such as correct use of ';'
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
6
cfg.mk
6
cfg.mk
@ -1097,12 +1097,12 @@ _autogen:
|
|||||||
|
|
||||||
# regenerate HACKING as part of the syntax-check
|
# regenerate HACKING as part of the syntax-check
|
||||||
ifneq ($(_gl-Makefile),)
|
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
|
endif
|
||||||
|
|
||||||
bracket-spacing-check:
|
spacing-check:
|
||||||
$(AM_V_GEN)files=`$(VC_LIST) | grep '\.c$$'`; \
|
$(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; \
|
{ echo '$(ME): incorrect formatting, see HACKING for rules' 1>&2; \
|
||||||
exit 1; }
|
exit 1; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user