summaryrefslogtreecommitdiff
path: root/tools/check-coding-style.mk
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-12-28 13:26:24 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2009-12-28 13:26:24 +0000
commita6ee8fce843f16b357c89935a95a657269b6f48a (patch)
tree29dc4bac24643dff6822d74220cbbd1eb7faa1f8 /tools/check-coding-style.mk
parent03e1cac41aaa8b38b529f7fdb772d39b716d6245 (diff)
downloadtelepathy-glib-a6ee8fce843f16b357c89935a95a657269b6f48a.tar.gz
Fix coding style checks for out-of-tree builds
This is 61d7c72 from telepathy-gabble.
Diffstat (limited to 'tools/check-coding-style.mk')
-rw-r--r--tools/check-coding-style.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/check-coding-style.mk b/tools/check-coding-style.mk
index 3fc92fc8d..1c0a60f66 100644
--- a/tools/check-coding-style.mk
+++ b/tools/check-coding-style.mk
@@ -3,12 +3,12 @@ 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 \
exit "$$fail";\