AccountChooser: don't return garbage from _set_account
[empathy-mirror.git] / tools / check-coding-style.mk
blob1c0a60f660f6d5bbc584da4c2bec1a828728a4e7
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 $(addprefix $(srcdir)/,$(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 $(addprefix $(srcdir)/,$(check_c_sources)) || fail=1; \
12 fi;\
13 if test yes = "$(ENABLE_CODING_STYLE_CHECKS)"; then \
14 exit "$$fail";\
15 else \
16 exit 0;\