blob: 55dacaa99aae8b65fb737a27e489926dafa8bb56 (
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
|
include $(top_srcdir)/Makefile.decl
ACLOCAL_AMFLAGS = -I m4
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-introspection=no
if ENABLE_DOC
DOC_SUBDIR = \
doc \
$(NULL)
endif
if ENABLE_BENCHMARK
BENCHMARK_SUBDIR = \
benchmark \
$(NULL)
endif
SUBDIRS = \
gee \
tests \
$(DOC_SUBDIR) \
$(BENCHMARK_SUBDIR) \
$(NULL)
if ENABLE_COVERAGE
coverage:
$(MAKE) -C tests coverage-reset
$(MAKE) -C tests test
$(MAKE) -C tests coverage-report
else
coverage:
@echo "The project has not been configured for coverage, check that you have gcov, lcov."
@echo "Of course, do not use --disable-coverage"
@exit 1
endif
.PHONY: coverage
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gee-1.0.pc
dist-hook: gen-ChangeLog
gen_start_date = 2009-04-30
.PHONY: gen-ChangeLog
gen-ChangeLog:
if test -d .git; then \
$(top_srcdir)/gitlog-to-changelog \
--since=$(gen_start_date) > $(distdir)/cl-t; \
rm -f $(distdir)/ChangeLog; \
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
fi
EXTRA_DIST += \
ChangeLog.pre-0-1-5 \
gitlog-to-changelog \
MAINTAINERS \
gee-1.0.pc.in \
$(NULL)
|