File: Makefile.am

package info (click to toggle)
libgee-0.8 0.16.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 9,716 kB
  • sloc: ansic: 135,537; sh: 11,290; makefile: 370; perl: 106
file content (58 lines) | stat: -rw-r--r-- 1,114 bytes parent folder | download | duplicates (2)
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 --enable-vala

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-0.8.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-0.8.pc.in \
	$(NULL)