Blame telepathy-account-widgets/tools/lcov.am

Packit Service c6b9b0
lcov-reset:
Packit Service c6b9b0
	lcov --directory @top_srcdir@ --zerocounters
Packit Service c6b9b0
Packit Service c6b9b0
lcov-report:
Packit Service c6b9b0
	lcov --directory @top_srcdir@ --capture \
Packit Service c6b9b0
		--output-file @top_builddir@/lcov.info.tmp
Packit Service c6b9b0
	lcov --directory @top_srcdir@ --output-file @top_builddir@/lcov.info \
Packit Service c6b9b0
		--remove @top_builddir@/lcov.info.tmp telepathy-glib-scan.c
Packit Service c6b9b0
	rm @top_builddir@/lcov.info.tmp
Packit Service c6b9b0
	$(MKDIR_P) @top_builddir@/lcov.html
Packit Service c6b9b0
	echo "Coming soon!" > @top_builddir@/lcov.html/index.html
Packit Service c6b9b0
	git_commit=`GIT_DIR=@top_srcdir@/.git git log -1 --pretty=format:%h 2>/dev/null`;\
Packit Service c6b9b0
	genhtml --title "@PACKAGE_STRING@ $$git_commit" \
Packit Service c6b9b0
		--output-directory @top_builddir@/lcov.html lcov.info
Packit Service c6b9b0
	@echo
Packit Service c6b9b0
	@echo 'lcov report can be found in:'
Packit Service c6b9b0
	@echo 'file://@abs_top_builddir@/lcov.html/index.html'
Packit Service c6b9b0
	@echo
Packit Service c6b9b0
Packit Service c6b9b0
lcov-check:
Packit Service c6b9b0
	$(MAKE) lcov-reset
Packit Service c6b9b0
	$(MAKE) check $(LCOV_CHECK_ARGS)
Packit Service c6b9b0
	$(MAKE) lcov-report
Packit Service c6b9b0
Packit Service c6b9b0
## vim:set ft=automake: