Help: Use stable 'if' namespace instead of experimental
[nijm-empathy.git] / tools / lcov.am
blobd2d282ac34a33dc25f938e5aff792b4c94b6af3c
1 lcov-reset:
2         lcov --directory @top_srcdir@ --zerocounters
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         echo "Coming soon!" > @top_builddir@/lcov.html/index.html
12         git_commit=`GIT_DIR=@top_srcdir@/.git git log -1 --pretty=format:%h 2>/dev/null`;\
13         genhtml --title "@PACKAGE_STRING@ $$git_commit" \
14                 --output-directory @top_builddir@/lcov.html lcov.info
15         @echo
16         @echo 'lcov report can be found in:'
17         @echo 'file://@abs_top_builddir@/lcov.html/index.html'
18         @echo
20 lcov-check:
21         $(MAKE) lcov-reset
22         $(MAKE) check $(LCOV_CHECK_ARGS)
23         $(MAKE) lcov-report
25 ## vim:set ft=automake: