dconf 0.22.0
[dconf.git] / Makefile.am
blob8c1a4857cf71cc42e030de0da7a1fe269b1318e7
1 include Makefile.gtester
3 ACLOCAL_AMFLAGS = -I m4
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