use one lined error notifications
[empathy-mirror.git] / tools / check-coding-style.mk
blob3fc92fc8d8a564f0611559b0e3f216b67f1169f6
1 check-coding-style:
2 @fail=0; \
3 if test -n "$(check_misc_sources)"; then \
4 tools_dir=$(top_srcdir)/tools \
5 sh $(top_srcdir)/tools/check-misc.sh \
6 $(check_misc_sources) || fail=1; \
7 fi; \
8 if test -n "$(check_c_sources)"; then \
9 tools_dir=$(top_srcdir)/tools \
10 sh $(top_srcdir)/tools/check-c-style.sh \
11 $(check_c_sources) || fail=1; \
12 fi;\
13 if test yes = "$(ENABLE_CODING_STYLE_CHECKS)"; then \
14 exit "$$fail";\
15 else \
16 exit 0;\