~ubuntu-desktop/indicator-messages/ubuntu

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Ken VanDine
  • Date: 2012-03-21 20:49:51 UTC
  • mfrom: (131.1.168 ubuntu)
  • Revision ID: ken.vandine@canonical.com-20120321204951-b3a5pn7tcu4g1ovy
* New upstream release.
  * Fix for missing icons in the messaging menu (LP: #960553)
  * Fix i18n for description (LP: #957525)
  * Implementing initial testing
  * Fixing blacklists (LP: #939258)
* debian/control: Adding dep on libgtest-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
        data \
5
5
        po
6
6
 
 
7
if BUILD_TESTS
 
8
SUBDIRS += \
 
9
        test
 
10
 
 
11
# build src first
 
12
test: src
 
13
 
 
14
endif
 
15
 
 
16
 
 
17
 
 
18
 
7
19
DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall --enable-deprecations
8
20
 
9
21
dist-hook:
33
45
        fi
34
46
 
35
47
 
36
 
# Coverage targets
37
 
 
38
 
.PHONY: clean-gcda
39
 
clean-gcda:
40
 
        @echo Removing old coverage results
41
 
        -find -name '*.gcda' -print | xargs -r rm
42
 
 
43
 
.PHONY: coverage-html generate-coverage-html clean-coverage-html
44
 
coverage-html: clean-gcda
45
 
        -$(MAKE) $(AM_MAKEFLAGS) -k check
46
 
        $(MAKE) $(AM_MAKEFLAGS) generate-coverage-html
47
 
 
48
 
generate-coverage-html:
49
 
        @echo Collecting coverage data
50
 
        $(LCOV) --directory $(top_builddir) --capture --output-file coverage.info --no-checksum --compat-libtool
51
 
        LANG=C $(GENHTML) --prefix $(top_builddir) --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info
52
 
 
53
 
clean-coverage-html: clean-gcda
54
 
        -$(LCOV) --directory $(top_builddir) -z
55
 
        -rm -rf coverage.info coveragereport
56
 
 
57
 
.PHONY: coverage-xml generate-coverage-xml clean-coverage-xml
58
 
coverage-xml: clean-gcda
59
 
        -$(MAKE) $(AM_MAKEFLAGS) -k check
60
 
        $(MAKE) $(AM_MAKEFLAGS) generate-coverage-xml
61
 
 
62
 
generate-coverage-xml:
63
 
        @echo Generating coverage XML report
64
 
        $(GCOVR) -x -r $(top_builddir) -o $(top_builddir)/coverage.xml
65
 
 
66
 
clean-coverage-xml: clean-gcda
67
 
        -rm -rf $(top_builddir)/coverage.xml
68
 
 
69
 
clean-local: clean-coverage-html clean-coverage-xml
 
48
include $(top_srcdir)/Makefile.am.coverage