From ac5edf41eee9581981687d16fb7a7249ebf54178 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 20 Dec 2013 18:10:59 +0200 Subject: [PATCH] Add a lcov recipe to Makefile.am --- Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 1df8c31..3ecdd94 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,4 +60,11 @@ update-online-doc: git commit -m "Updated documentation for $(PACKAGE) to version $(VERSION)" && \ git push ; \ popd > /dev/null && \ - rm -rf $(PACKAGE)-$(VERSION) \ No newline at end of file + rm -rf $(PACKAGE)-$(VERSION) + +lcov: check + @rm -rf lcov-report + @lcov -c --directory libgsignon-glib/ --output-file lcov.output + @genhtml lcov.output --output-directory lcov-report + @rm lcov.output + @echo "Coverage report is in file://$(abs_srcdir)/lcov-report/index.html" \ No newline at end of file -- 2.34.1