summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: a1fbe277eebf327798f1e41040e855afb87393db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Makefile.am
#
# Author: Iago Toral Quiroga <itoral@igalia.com>
#
# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.

include $(top_srcdir)/gtester.mk
include $(top_srcdir)/release.mk

ACLOCAL_AMFLAGS = -I m4

SUBDIRS = src help po tests

MAINTAINERCLEANFILES = \
	$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
	$(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
	$(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
	m4/intltool.m4 \
	$(NULL)

# Make sure that the documentation generation is enabled
# when creating tarball releases,
# and make sure that we enable all plugins needed by the documentation.
DISTCHECK_CONFIGURE_FLAGS = --enable-bookmarks \
                            --enable-dleyna \
                            --enable-dmap \
                            --enable-filesystem \
                            --enable-flickr \
                            --enable-freebox \
                            --enable-gravatar \
                            --enable-jamendo \
                            --enable-localmetadata \
                            --enable-lua-factory \
                            --enable-magnatune \
                            --enable-metadata-store \
                            --enable-optical-media \
                            --enable-pocket \
                            --enable-podcasts \
                            --enable-thetvdb \
                            --enable-tmdb \
                            --enable-tracker \
                            --enable-vimeo \
                            --enable-youtube

if GCOV_ENABLED
lcov-clean:
	@rm -fr coverage
	@find . -name "*.gcda" -exec rm {} \;
	@lcov --directory . --zerocounters

lcov:
	@mkdir -p coverage
	@lcov --compat-libtool --directory src --capture --output-file coverage/grilo.info
	@genhtml -o coverage/ coverage/grilo.info
endif

-include $(top_srcdir)/git.mk