diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-04-03 21:39:27 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-04-03 21:39:27 -0500 |
commit | fae66e85a4081f14424daf94fa35c184e6283341 (patch) | |
tree | 28df1bd729517aced1223a2221c12652ac0cea14 /Makefile.am | |
parent | 2f67706e1bab6b64b497d3f42e95c78a591ddc16 (diff) | |
parent | 76fc7f014432bedd7c8c103a025b31308136c01b (diff) | |
download | libayatana-indicator-fae66e85a4081f14424daf94fa35c184e6283341.tar.gz libayatana-indicator-fae66e85a4081f14424daf94fa35c184e6283341.tar.bz2 libayatana-indicator-fae66e85a4081f14424daf94fa35c184e6283341.zip |
merge lp:~allanlesage/libindicator/TDD to remove a dependency on gcovr, move gcov targets to their own makefile, and clean up .gcno files.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/Makefile.am b/Makefile.am index d8ec187..6a72e0b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,37 +45,4 @@ dist-hook: fi -# Coverage targets - -.PHONY: clean-gcda -clean-gcda: - @echo Removing old coverage results - -find -name '*.gcda' -print | xargs -r rm - -.PHONY: coverage-html generate-coverage-html clean-coverage-html -coverage-html: clean-gcda - -$(MAKE) $(AM_MAKEFLAGS) -k check - $(MAKE) $(AM_MAKEFLAGS) generate-coverage-html - -generate-coverage-html: - @echo Collecting coverage data - $(LCOV) --directory $(top_builddir) --capture --output-file coverage.info --no-checksum --compat-libtool - LANG=C $(GENHTML) --prefix $(top_builddir) --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info - -clean-coverage-html: clean-gcda - -$(LCOV) --directory $(top_builddir) -z - -rm -rf coverage.info coveragereport - -.PHONY: coverage-xml generate-coverage-xml clean-coverage-xml -coverage-xml: clean-gcda - -$(MAKE) $(AM_MAKEFLAGS) -k check - $(MAKE) $(AM_MAKEFLAGS) generate-coverage-xml - -generate-coverage-xml: - @echo Generating coverage XML report - $(GCOVR) -x -r $(top_builddir) -o $(top_builddir)/coverage.xml - -clean-coverage-xml: clean-gcda - -rm -rf $(top_builddir)/coverage.xml - -clean-local: clean-coverage-html clean-coverage-xml +include $(top_srcdir)/Makefile.am.coverage |