File: check-coding-style.mk

package info (click to toggle)
telepathy-logger 0.8.2-4.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,500 kB
  • sloc: ansic: 16,025; sh: 11,552; python: 2,960; makefile: 635; xml: 185
file content (17 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
check-coding-style:
	@fail=0; \
	if test -n "$(check_misc_sources)"; then \
		tools_dir=$(top_srcdir)/tools \
		sh $(top_srcdir)/tools/check-misc.sh \
			$(addprefix $(srcdir)/,$(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 \
			$(addprefix $(srcdir)/,$(check_c_sources)) || fail=1; \
	fi;\
	if test yes = "$(enable_fatal_warnings)"; then \
		exit "$$fail";\
	else \
		exit 0;\
	fi