shithub: aubio

Download patch

ref: b995296f8cbf63b1463a9e0e1f6fbecc57e59fd5
parent: 4ce62cd07342bfdc6a246be201390813d220e069
author: Paul Brossier <piem@piem.org>
date: Tue Nov 13 03:07:49 EST 2007

Makefile.am: added simple 'make lcov' rules

--- a/Makefile.am
+++ b/Makefile.am
@@ -35,3 +35,9 @@
 install-data-hook: install-pkgconfig
 uninstall-hook: uninstall-pkgconfig
 
+lcov: all
+	mkdir -p $(top_builddir)/lcov
+	lcov --directory $(top_builddir) --output-file $(top_builddir)/lcov/aubio.info --compat-libtool --zerocounters
+	cd tests/python && ./run_all_tests -v || echo "some tests failed"
+	lcov --directory $(top_builddir) --output-file $(top_builddir)/lcov/aubio.info --compat-libtool --capture
+	genhtml --output-directory $(top_builddir)/lcov $(top_builddir)/lcov/aubio.info