summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-12-17 13:40:06 +0000
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-12-18 11:16:51 +0000
commit0bd6d0dd44ba5a880f3fdb5679aa200af41fc3c1 (patch)
tree6456c222e6dfa988ee361c26c6d99e9a6939a7cc /tools
parent440fd94bf01530163ada2b247fbbb56e59904286 (diff)
Fix coding style checks in out-of-tree builds.
This is already fixed in Gabble's copy of the script; this just updates Wocky's copy to match.
Diffstat (limited to 'tools')
-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 3fc92fc..1c0a60f 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";\