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