1 ACLOCAL_AMFLAGS = -I m4
3 # --enable-distcheck is here to make it possible to use
4 # also --enable-dbus-type=session here
5 AM_DISTCHECK_CONFIGURE_FLAGS = \
10 pkgconfigdir = $(libdir)/pkgconfig
11 pkgconfig_DATA = gsignond.pc
13 sysconf_DATA = gsignond.conf
15 SUBDIRS = src test docs
17 EXTRA_DIST = dists tools
20 cd test; make valgrind
24 @echo "==== Run 'make update-online-doc' to update online documentation ===="
28 @tar zxf $(PACKAGE)-$(VERSION).tar.gz && \
29 pushd . > /dev/null && \
31 git clone https://code.google.com/p/accounts-sso.gsignon-docs/ ; \
32 cd accounts-sso.gsignon-docs && \
34 mkdir -p $(PACKAGE) && \
35 rm -rf $(PACKAGE)/* && \
37 cp -rf $(PACKAGE)-$(VERSION)/docs/html/* ../accounts-sso.gsignon-docs/$(PACKAGE)/ && \
38 pushd . > /dev/null && \
39 cd ../accounts-sso.gsignon-docs && \
40 git add $(PACKAGE)/* && \
41 git commit -m "Updated documentation for $(PACKAGE) to version $(VERSION)" && \
44 rm -rf $(PACKAGE)-$(VERSION)
48 @lcov -c --directory src/ --output-file lcov.output
49 @genhtml lcov.output --output-directory lcov-report
51 @echo "Coverage report is in file://$(abs_srcdir)/lcov-report/index.html"