1 SUBDIRS=dbus bus doc tools test
2 DIST_SUBDIRS=dbus bus doc tools test
4 pkgconfigdir = $(libdir)/pkgconfig
5 pkgconfig_DATA = dbus-1.pc
13 cleanup-man-pages.sh \
28 find -name "*.da" -o -name "*.gcov" | xargs rm || true
31 find -name "*.bbg" -o -name "*.bb" | xargs rm || true
35 ## .PHONY so it always rebuilds it
36 .PHONY: coverage-report.txt
38 BBG_FILES=`find $(GCOV_DIRS) -name "*.bbg" -o -name "*.gcno"` ; \
40 for F in $$BBG_FILES ; do \
41 F_nolibs=`echo $$F | sed -e 's/.libs\///g'` ; \
42 C=`echo $$F_nolibs | sed -e 's/.bbg/.c/g' | sed -e 's/.gcno/.c/g'` ; \
43 B=`basename $$F .bbg` ; \
45 DA=`echo $$F | sed -e 's/.bbg/.da/g'` ; \
46 DA_libs=`echo $$D/.libs/$$B/.da` ; \
47 if test -e $$DA || test -e $$DA_libs; then \
48 C_FILES="$$C_FILES $$C" ; \
52 $(top_builddir)/test/decode-gcov --report $$C_FILES > coverage-report.txt
54 check-coverage: clean-gcov all check coverage-report.txt
55 cat coverage-report.txt
59 echo "Need to reconfigure with --enable-gcov"
62 echo "Need to reconfigure with --enable-gcov"
67 git shortlog -s -e | cut -c 8- | sort > AUTHORS
69 DISTCHECK_CONFIGURE_FLAGS = \
70 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
72 ACLOCAL_AMFLAGS = -I m4