eds: fix Android favourite handling when creating contact
[platform/upstream/folks.git] / lcov.mk
1 # From http://cgit.freedesktop.org/telepathy/telepathy-glib/tree/tools/lcov.am
2
3 lcov-reset:
4         lcov --directory @top_srcdir@ --zerocounters
5
6 lcov-report:
7         lcov --directory @top_srcdir@ --capture \
8                 --output-file @top_builddir@/lcov.info
9         $(mkdir_p) @top_builddir@/lcov.html
10         git_commit=`GIT_DIR=@top_srcdir@/.git git log -1 --pretty=format:%h 2>/dev/null`;\
11         genhtml --title "@PACKAGE_STRING@ $$git_commit" \
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 $(LCOV_CHECK_ARGS)
21         $(MAKE) lcov-report
22
23 ## vim:set ft=automake: