hindi update
[empathy-mirror.git] / tools / check-coding-style.mk
blobf3f74fa4ac8415577b81f11074308e45c5246cf9
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_fatal_warnings)"; then \
14 exit "$$fail";\
15 else \
16 exit 0;\