summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-01-23 19:08:32 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-02 18:38:07 +0000
commit1acc7b09ed1bc37040f1ef8f5c79f094664582dc (patch)
treea1fb1fb3b5b1d516aaf4497a2323645199b680fd /tools
parent7cf5d2fac4660dc73c8c2714d0cfab05e2e0d090 (diff)
downloaddbus-1acc7b09ed1bc37040f1ef8f5c79f094664582dc.tar.gz
lcov: use builddir, not srcdir
It seems lcov (or gcc?) has changed its paths since last time this worked. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88808 Reviewed-by: Philip Withnall
Diffstat (limited to 'tools')
-rw-r--r--tools/lcov.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lcov.am b/tools/lcov.am
index 7ba49912..ac348671 100644
--- a/tools/lcov.am
+++ b/tools/lcov.am
@@ -21,10 +21,10 @@
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
lcov-reset:
- lcov --directory @abs_top_srcdir@ --zerocounters
+ lcov --directory @abs_top_builddir@ --zerocounters
lcov-report:
- lcov --directory @abs_top_srcdir@ --capture \
+ lcov --directory @abs_top_builddir@ --capture \
--output-file @abs_top_builddir@/lcov.info
$(mkdir_p) @abs_top_builddir@/lcov.html
git_commit=`GIT_DIR=@abs_top_srcdir@/.git git log -1 --pretty=format:%h 2>/dev/null`;\