diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-10-28 10:16:46 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-10-28 10:16:46 +0100 |
commit | d8c8189d39ebbd04b57fc3485be38147257b46c0 (patch) | |
tree | c8efa4b96643390b73962165d57e7d99032d7729 /cfg.mk | |
parent | 1b8e7244235116abbcf21083d54fd66c7270996f (diff) | |
download | gnutls-d8c8189d39ebbd04b57fc3485be38147257b46c0.tar.gz |
Fix coverage rules.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -49,10 +49,13 @@ bootstrap: autoreconf init-coverage: make clean lcov --directory . --zerocounters + ln -sf /usr/local/share/gaa/gaa.skel src/gaa.skel + +COVERAGE_OPTS="-g -fprofile-arcs -ftest-coverage" build-coverage: - make CFLAGS="-g -fprofile-arcs -ftest-coverage" VALGRIND= - make CFLAGS="-g -fprofile-arcs -ftest-coverage" VALGRIND= check + make CFLAGS=$(COVERAGE_OPTS) CXXFLAGS=$(COVERAGE_OPTS) VALGRIND= + make CFLAGS=$(COVERAGE_OPTS) CXXFLAGS=$(COVERAGE_OPTS) VALGRIND= check mkdir -p doc/coverage lcov --directory . --output-file doc/coverage/$(PACKAGE).info --capture |