dbus/proxies.py: Give Interface some properties. Vastly simplify __getattr__ on Inter...
[dbus-python-phuang.git] / tools / check-coding-style.mk
blob5209223ae14259d285d035b4826a549798d0ae9c
1 check-local::
2 @fail=0; \
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; \
8 fi; \
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; \
14 fi;\
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; \
20 fi;\
21 if test yes = "@ENABLE_CODING_STYLE_CHECKS@"; then \
22 exit "$$fail";\
23 else \
24 exit 0;\