blob: e40b6d89cddd519a926c1b65b142178e983857c9 (
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
|
include Makefile.gtester
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = shm gvdb common engine service gdbus gsettings dbus-1 client bin docs tests po
if ENABLE_EDITOR
SUBDIRS += editor
endif
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
EXTRA_DIST = trim-lcov.py m4
clean-am: lcov-clean gcno-clean
.PHONY: lcov lcov-clean gcno-clean
lcov: lcov-clean
$(MAKE) $(AM_MAKEFLAGS) check
lcov --directory $(top_builddir) --capture --test-name dconf | $(top_srcdir)/trim-lcov.py > dconf-lcov.info
LANG=C genhtml --prefix $(top_builddir) --output-directory lcov-html --legend --show-details dconf-lcov.info
@echo
@echo " file://$(abs_top_builddir)/lcov-html/index.html"
@echo
gcno-clean:
-find -name '*.gcno' -delete
lcov-clean:
-lcov --directory $(top_builddir) -z
find -name '*.gcda' -delete
rm -rf lcov-html dconf-lcov.info
|