1 ACLOCAL_AMFLAGS = -I m4
2 AM_DISTCHECK_CONFIGURE_FLAGS = \
4 --enable-introspection=yes
5 SUBDIRS = libgsignon-glib docs examples
15 pkgconfigdir = $(libdir)/pkgconfig
16 pkgconfig_in_files = libgsignon-glib.pc.in
17 pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc)
20 $(libgsignondoc_DATA) \
23 dist-hook: git-changelog-hook
25 @echo "==== Run 'make update-online-doc' to update online documentation ===="
28 git-changelog-hook: Makefile
29 $(AM_V_at)if $(top_srcdir)/build-aux/missing --run git \
30 --git-dir=$(top_srcdir)/.git --work-tree=$(top_srcdir) log \
31 --no-merges --date=short --pretty='tformat:%cd %an <%ae>%n%n%s%n%n%b' | \
32 $(SED) -e '/[^ ]/,/^[ ]*$$/ !d' > .ChangeLog.tmp; \
33 then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \
34 else rm -f .ChangeLog.tmp; exit 1; fi
40 cd tests; make valgrind
42 EXTRA_DIST = dists tools
44 .PHONY: git-changelog-hook
47 @tar zxf $(PACKAGE)-$(VERSION).tar.gz && \
48 pushd . > /dev/null && \
50 git clone https://code.google.com/p/accounts-sso.gsignon-docs/ ; \
51 cd accounts-sso.gsignon-docs && \
53 mkdir -p $(PACKAGE) && \
54 rm -rf $(PACKAGE)/* && \
56 cp -rf $(PACKAGE)-$(VERSION)/docs/reference/html/* ../accounts-sso.gsignon-docs/$(PACKAGE)/ && \
57 pushd . > /dev/null && \
58 cd ../accounts-sso.gsignon-docs && \
59 git add $(PACKAGE)/* && \
60 git commit -m "Updated documentation for $(PACKAGE) to version $(VERSION)" && \
63 rm -rf $(PACKAGE)-$(VERSION)