3 if
test -n
"$(check_misc_sources)"; then \
4 echo check-coding-style.mk
: checking misc sources...
; \
5 top_srcdir
=$(top_srcdir
) \
6 sh
$(top_srcdir
)/tools
/check-whitespace.sh \
7 $(check_misc_sources
) || fail
=1; \
9 if
test -n
"$(check_py_sources)"; then \
10 echo check-coding-style.mk
: checking Python sources...
; \
11 top_srcdir
=$(top_srcdir
) \
12 sh
$(top_srcdir
)/tools
/check-py-style.sh \
13 $(check_py_sources
) || fail
=1; \
15 if
test -n
"$(check_c_sources)"; then \
16 echo check-coding-style.mk
: checking C sources...
; \
17 top_srcdir
=$(top_srcdir
) \
18 sh
$(top_srcdir
)/tools
/check-c-style.sh \
19 $(check_c_sources
) || fail
=1; \
21 if
test yes
= "@ENABLE_CODING_STYLE_CHECKS@"; then \