]> git.0d.be Git - empathy.git/blobdiff - tools/check-coding-style.mk
remove released flag
[empathy.git] / tools / check-coding-style.mk
index 3fc92fc8d8a564f0611559b0e3f216b67f1169f6..f3f74fa4ac8415577b81f11074308e45c5246cf9 100644 (file)
@@ -3,14 +3,14 @@ check-coding-style:
        if test -n "$(check_misc_sources)"; then \
                tools_dir=$(top_srcdir)/tools \
                sh $(top_srcdir)/tools/check-misc.sh \
-                       $(check_misc_sources) || fail=1; \
+                       $(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 \
-                       $(check_c_sources) || fail=1; \
+                       $(addprefix $(srcdir)/,$(check_c_sources)) || fail=1; \
        fi;\
-       if test yes = "$(ENABLE_CODING_STYLE_CHECKS)"; then \
+       if test yes = "$(enable_fatal_warnings)"; then \
                exit "$$fail";\
        else \
                exit 0;\