]> git.0d.be Git - empathy.git/blobdiff - tools/lcov.am
Center the 'smiley images' inside the menu items
[empathy.git] / tools / lcov.am
index 97eed8f41702a04f88a95880fb91e1fbcf53fe4e..d2d282ac34a33dc25f938e5aff792b4c94b6af3c 100644 (file)
@@ -7,8 +7,10 @@ lcov-report:
        lcov --directory @top_srcdir@ --output-file @top_builddir@/lcov.info \
                --remove @top_builddir@/lcov.info.tmp telepathy-glib-scan.c
        rm @top_builddir@/lcov.info.tmp
-       $(mkdir_p) @top_builddir@/lcov.html
-       genhtml --title telepathy-glib \
+       $(MKDIR_P) @top_builddir@/lcov.html
+       echo "Coming soon!" > @top_builddir@/lcov.html/index.html
+       git_commit=`GIT_DIR=@top_srcdir@/.git git log -1 --pretty=format:%h 2>/dev/null`;\
+       genhtml --title "@PACKAGE_STRING@ $$git_commit" \
                --output-directory @top_builddir@/lcov.html lcov.info
        @echo
        @echo 'lcov report can be found in:'
@@ -17,7 +19,7 @@ lcov-report:
 
 lcov-check:
        $(MAKE) lcov-reset
-       $(MAKE) check
+       $(MAKE) check $(LCOV_CHECK_ARGS)
        $(MAKE) lcov-report
 
 ## vim:set ft=automake: