~ubuntu-branches/ubuntu/natty/empathy/natty-updates

« back to all changes in this revision

Viewing changes to tools/check-coding-style.mk

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2008-03-10 16:39:07 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20080310163907-tv41g2zmf0qqgi85
Tags: 0.22.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
check-local::
 
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;\
 
17
        fi