]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build-aux: add sc_ prefix to more syntax checks
authorJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 09:46:23 +0000 (11:46 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 11:54:15 +0000 (13:54 +0200)
That way our meson build file will correctly pick them up.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
build-aux/syntax-check.mk

index 1fe2da4e637fd3a6957253564fc273d5b49f7e8a..9256532ab3f6fefeb086e2862f1258021b747110 100644 (file)
@@ -1874,9 +1874,9 @@ sc_prohibit_path_max_allocation:
          $(_sc_search_regexp)
 
 ifneq ($(_gl-Makefile),)
-syntax-check: spacing-check test-wrap-argv \
-       prohibit-duplicate-header mock-noinline group-qemu-caps \
-        header-ifdef
+syntax-check: sc_spacing-check sc_test-wrap-argv \
+       sc_prohibit-duplicate-header sc_mock-noinline sc_group-qemu-caps \
+        sc_header-ifdef
        @if ! cppi --version >/dev/null 2>&1; then \
                echo "*****************************************************" >&2; \
                echo "* cppi not installed, some checks have been skipped *" >&2; \
@@ -1890,28 +1890,28 @@ syntax-check: spacing-check test-wrap-argv \
 endif
 
 # Don't include duplicate header in the source (either *.c or *.h)
-prohibit-duplicate-header:
+sc_prohibit-duplicate-header:
        $(AM_V_GEN)$(VC_LIST_EXCEPT) | $(GREP) '\.[chx]$$' | $(RUNUTF8) xargs \
        $(PYTHON) $(top_srcdir)/scripts/prohibit-duplicate-header.py
 
-spacing-check:
+sc_spacing-check:
        $(AM_V_GEN)$(VC_LIST) | $(GREP) '\.c$$' | xargs \
        $(PERL) $(top_srcdir)/build-aux/check-spacing.pl || \
          { echo '$(ME): incorrect formatting' 1>&2; exit 1; }
 
-mock-noinline:
+sc_mock-noinline:
        $(AM_V_GEN)$(VC_LIST) | $(GREP) '\.[ch]$$' | $(RUNUTF8) xargs \
        $(PYTHON) $(top_srcdir)/scripts/mock-noinline.py
 
-header-ifdef:
+sc_header-ifdef:
        $(AM_V_GEN)$(VC_LIST) | $(GREP) '\.[h]$$' | $(RUNUTF8) xargs \
        $(PYTHON) $(top_srcdir)/scripts/header-ifdef.py
 
-test-wrap-argv:
+sc_test-wrap-argv:
        $(AM_V_GEN)$(VC_LIST) | $(GREP) -E '\.(ldargs|args)' | $(RUNUTF8) xargs \
        $(PYTHON) $(top_srcdir)/scripts/test-wrap-argv.py --check
 
-group-qemu-caps:
+sc_group-qemu-caps:
        $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/group-qemu-caps.py \
                --check --prefix $(top_srcdir)/