tests: add testcase for dconf_engine_sync()
[dconf.git] / Makefile.am
blobe40b6d89cddd519a926c1b65b142178e983857c9
1 include Makefile.gtester
3 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
5 SUBDIRS = shm gvdb common engine service gdbus gsettings dbus-1 client bin docs tests po
7 if ENABLE_EDITOR
8 SUBDIRS += editor
9 endif
11 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
12 EXTRA_DIST = trim-lcov.py m4
14 clean-am: lcov-clean gcno-clean
16 .PHONY: lcov lcov-clean gcno-clean
18 lcov: lcov-clean
19         $(MAKE) $(AM_MAKEFLAGS) check
20         lcov --directory $(top_builddir) --capture --test-name dconf | $(top_srcdir)/trim-lcov.py > dconf-lcov.info
21         LANG=C genhtml --prefix $(top_builddir) --output-directory lcov-html --legend --show-details dconf-lcov.info
22         @echo
23         @echo "     file://$(abs_top_builddir)/lcov-html/index.html"
24         @echo
26 gcno-clean:
27         -find -name '*.gcno' -delete
29 lcov-clean:
30         -lcov --directory $(top_builddir) -z
31         find -name '*.gcda' -delete
32         rm -rf lcov-html dconf-lcov.info