File: check-coding-style.mk

package info (click to toggle)
telepathy-sofiasip 0.5.8-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,376 kB
  • ctags: 897
  • sloc: sh: 8,563; ansic: 8,262; python: 2,027; makefile: 302; xml: 200
file content (17 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
check-local::
	@fail=0; \
	if test -n "$(check_misc_sources)"; then \
		tools_dir=$(top_srcdir)/tools \
		sh $(top_srcdir)/tools/check-misc.sh \
			$(check_misc_sources) || fail=1; \
	fi; \
	if test -n "$(check_c_sources)"; then \
		tools_dir=$(top_srcdir)/tools \
		sh $(top_srcdir)/tools/check-c-style.sh \
			$(check_c_sources) || fail=1; \
	fi;\
	if test yes = "$(ENABLE_CODING_STYLE_CHECKS)"; then \
		exit "$$fail";\
	else \
		exit 0;\
	fi