]> git.0d.be Git - empathy.git/blob - tools/lcov.am
Merge commit 'istaz/python-empathy-fix'
[empathy.git] / tools / lcov.am
1 lcov-reset:
2         lcov --directory @top_srcdir@ --zerocounters
3
4 lcov-report:
5         lcov --directory @top_srcdir@ --capture \
6                 --output-file @top_builddir@/lcov.info.tmp
7         lcov --directory @top_srcdir@ --output-file @top_builddir@/lcov.info \
8                 --remove @top_builddir@/lcov.info.tmp telepathy-glib-scan.c
9         rm @top_builddir@/lcov.info.tmp
10         $(mkdir_p) @top_builddir@/lcov.html
11         genhtml --title telepathy-glib \
12                 --output-directory @top_builddir@/lcov.html lcov.info
13         @echo
14         @echo 'lcov report can be found in:'
15         @echo 'file://@abs_top_builddir@/lcov.html/index.html'
16         @echo
17
18 lcov-check:
19         $(MAKE) lcov-reset
20         $(MAKE) check
21         $(MAKE) lcov-report
22
23 ## vim:set ft=automake: