diff options
| author | Ken VanDine <ken.vandine@canonical.com> | 2012-01-24 12:19:38 -0500 |
|---|---|---|
| committer | Ken VanDine <ken.vandine@canonical.com> | 2012-01-24 12:19:38 -0500 |
| commit | 2d9e6ffd800cd27e0524c49c1e791ba83bfee165 (patch) | |
| tree | 815a34ea07984d493f770606887c88a6319a607a /Makefile.am | |
| parent | 30ab1ed064f598d6b33289f7bd97b6ac97029e82 (diff) | |
| parent | c2596f714bf499ed87bef58d68216054b63ee9c3 (diff) | |
| download | libayatana-indicator-2d9e6ffd800cd27e0524c49c1e791ba83bfee165.tar.gz libayatana-indicator-2d9e6ffd800cd27e0524c49c1e791ba83bfee165.tar.bz2 libayatana-indicator-2d9e6ffd800cd27e0524c49c1e791ba83bfee165.zip | |
* New upstream release.
* Support hiding and showing indicators
* Track the parent object in the entry
* Adding activate function to include Window ID
* debian/control: Bumping ABI version of lib
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 45 |
1 files changed, 42 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 3bd312e..182cb2d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,13 +2,17 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} SUBDIRS = \ libindicator \ - tests \ tools -tests: libindicator - tools: libindicator +if WANT_TESTS +SUBDIRS += \ + tests + +tests: libindicator +endif + DISTCHECK_CONFIGURE_FLAGS = --disable-deprecations DISTCLEANFILES = \ @@ -40,3 +44,38 @@ dist-hook: echo Failed to generate AUTHORS: not a branch >&2; \ 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 |
