diff options
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | Makefile.am | 14 |
2 files changed, 17 insertions, 2 deletions
@@ -59,8 +59,9 @@ /doc/.dirstamp /doc/Doxyfile.bak /doc/Doxyfile.gen -/doc/html -/doc/latex +/doc/html/ +/doc/latex/ +/doc/report/ /elc-stamp /elisp-comp /install-sh diff --git a/Makefile.am b/Makefile.am index 1a0c3031..afa653b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -346,6 +346,20 @@ docs: pdf $(top_builddir)/doc/refman.pdf libs: (cd lib; make) +report: all + -rm -fr build + lcov -d $(shell pwd) --zerocounters + -mkdir doc/report + lcov -c -i -d $(shell pwd) -o doc/report/ledger_base.info + make fullcheck + lcov -c -d $(shell pwd) --checksum -o doc/report/ledger_test.info + lcov -a doc/report/ledger_base.info \ + -a doc/report/ledger_test.info -o doc/report/ledger_total.info + lcov --extract doc/report/ledger_total.info '*src/ledger/*' \ + -o doc/report/ledger_cov.info + genhtml -o doc/report doc/report/ledger_cov.info + @echo Coverage reported generated\; now open doc/report/index.html + ###################################################################### copy-sources: |