mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Produce more verbose error if cppi not found
It's fairly easy (especially for new contributors) to not spot the 'cppi not installed' line in the syntax-check output. Add a banner that is shown at the end of syntax-check output if no cppi was found. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> ACKed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
68e503ee70
commit
9d6c34718b
5
cfg.mk
5
cfg.mk
@ -1145,6 +1145,11 @@ ifneq ($(_gl-Makefile),)
|
|||||||
syntax-check: spacing-check test-wrap-argv \
|
syntax-check: spacing-check test-wrap-argv \
|
||||||
prohibit-duplicate-header mock-noinline group-qemu-caps \
|
prohibit-duplicate-header mock-noinline group-qemu-caps \
|
||||||
header-ifdef
|
header-ifdef
|
||||||
|
@if ! cppi --version >/dev/null 2>&1; then \
|
||||||
|
echo "*****************************************************" >&2; \
|
||||||
|
echo "* cppi not installed, some checks have been skipped *" >&2; \
|
||||||
|
echo "*****************************************************" >&2; \
|
||||||
|
fi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Don't include duplicate header in the source (either *.c or *.h)
|
# Don't include duplicate header in the source (either *.c or *.h)
|
||||||
|
Loading…
Reference in New Issue
Block a user