diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-12-07 15:40:12 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-12-07 15:40:12 +0000 |
commit | aa533f5806fbc847cdd2a44f489cc093b31c3be2 (patch) | |
tree | 3e36423340a0ca632c5cbba222ce12adceaf17ca | |
parent | db5344e7a4a93ce754c3cddc9e95a23c636db09e (diff) |
Fix coding style checks for out-of-tree builds
-rw-r--r-- | tools/check-coding-style.mk | 4 |
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";\ |