diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-02-19 12:17:26 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-02-19 12:19:07 +0000 |
commit | bfa02dd9f85f90200de796ad2d9e65596e8add6b (patch) | |
tree | 5dad2d07c1d85806d7eecc9ab5c10d86a7d67d25 /tools | |
parent | 67759dbc248f4eb05855a796eea6d464e051b2e8 (diff) |
check-coding-style: work in out-of-tree builds
Diffstat (limited to 'tools')
-rw-r--r-- | tools/check-coding-style.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/check-coding-style.mk b/tools/check-coding-style.mk index 6bf350a..7496b35 100644 --- a/tools/check-coding-style.mk +++ b/tools/check-coding-style.mk @@ -3,20 +3,20 @@ check-local:: cd $(srcdir) || exit $$?; \ if test -n "$(check_misc_sources)"; then \ echo check-coding-style.mk: checking misc sources...; \ - top_srcdir=$(top_srcdir) \ - sh $(top_srcdir)/tools/check-whitespace.sh \ + top_srcdir=$(abs_top_srcdir) \ + sh $(abs_top_srcdir)/tools/check-whitespace.sh \ $(check_misc_sources) || fail=1; \ fi; \ if test -n "$(check_py_sources)"; then \ echo check-coding-style.mk: checking Python sources...; \ - top_srcdir=$(top_srcdir) \ - sh $(top_srcdir)/tools/check-py-style.sh \ + top_srcdir=$(abs_top_srcdir) \ + sh $(abs_top_srcdir)/tools/check-py-style.sh \ $(check_py_sources) || fail=1; \ fi;\ if test -n "$(check_c_sources)"; then \ echo check-coding-style.mk: checking C sources...; \ - top_srcdir=$(top_srcdir) \ - sh $(top_srcdir)/tools/check-c-style.sh \ + top_srcdir=$(abs_top_srcdir) \ + sh $(abs_top_srcdir)/tools/check-c-style.sh \ $(check_c_sources) || fail=1; \ fi;\ if test yes = "@ENABLE_CODING_STYLE_CHECKS@"; then \ |