summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-15 07:09:43 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-15 07:09:57 -0400
commit35e845f38dcd76284005a97aad77adcc9f0c3c5a (patch)
treeae156b246ae433799f367961eaf35e5787e177df /tools
parentbe91f38ab4ccdba6006106d45fd7061db2110470 (diff)
downloadfork-ledger-35e845f38dcd76284005a97aad77adcc9f0c3c5a.tar.gz
fork-ledger-35e845f38dcd76284005a97aad77adcc9f0c3c5a.tar.bz2
fork-ledger-35e845f38dcd76284005a97aad77adcc9f0c3c5a.zip
Corrected the 'report' rule in Makefile.am
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 1ca0a6a7..0dd4962c 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -515,15 +515,15 @@ libs:
(cd lib; make)
report: all
- -rm -fr build
lcov -d $(shell pwd) --zerocounters
+ if [ -d doc/report ]; then rm -fr doc/report; fi
-mkdir doc/report
lcov -c -i -d $(shell pwd) -o doc/report/ledger_base.info
- make fullcheck
+ make check
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/*' \
+ lcov --extract doc/report/ledger_total.info '*/src/*' \
-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