mirror of https://gitee.com/openkylin/libvirt.git
Fix preprocessor indentation in libvirt.h.in
The cfg.mk rule for checking preprocessor indentation was mistakenly missing the libvirt.h.in file due to bad file extension matching rule. Fix that and the resolve the incorrect indentation that is identified.
This commit is contained in:
parent
bcec07b9f0
commit
a0b6c98d59
2
cfg.mk
2
cfg.mk
|
@ -680,7 +680,7 @@ sc_require_whitespace_in_translation:
|
|||
# Enforce recommended preprocessor indentation style.
|
||||
sc_preprocessor_indentation:
|
||||
@if cppi --version >/dev/null 2>&1; then \
|
||||
$(VC_LIST_EXCEPT) | grep '\.[ch]$$' | xargs cppi -a -c \
|
||||
$(VC_LIST_EXCEPT) | grep -E '\.[ch](\.in)?$$' | xargs cppi -a -c \
|
||||
|| { echo '$(ME): incorrect preprocessor indentation' 1>&2; \
|
||||
exit 1; }; \
|
||||
else \
|
||||
|
|
Loading…
Reference in New Issue