distdir dist dist-all distcheck
ETAGS = etags
CTAGS = ctags
-DIST_SUBDIRS = libgsignon-glib docs pygobject tests
+DIST_SUBDIRS = libgsignon-glib docs examples pygobject tests
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
--enable-gtk-doc \
--enable-introspection=yes
-SUBDIRS = libgsignon-glib docs $(am__append_1) $(am__append_2)
+SUBDIRS = libgsignon-glib docs examples $(am__append_1) \
+ $(am__append_2)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_in_files = libgsignon-glib.pc.in
pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc)
dist-hook: git-changelog-hook
+ @echo
+ @echo "==== Run 'make update-online-doc' to update online documentation ===="
+ @echo
git-changelog-hook: Makefile
$(AM_V_at)if $(top_srcdir)/build-aux/missing --run git \
.PHONY: git-changelog-hook
+update-online-doc:
+ @tar zxf $(PACKAGE)-$(VERSION).tar.gz && \
+ pushd . > /dev/null && \
+ cd .. && \
+ git clone https://code.google.com/p/accounts-sso.gsignon-docs/ ; \
+ cd accounts-sso.gsignon-docs && \
+ git pull ; \
+ mkdir -p $(PACKAGE) && \
+ rm -rf $(PACKAGE)/* && \
+ popd > /dev/null && \
+ cp -rf $(PACKAGE)-$(VERSION)/docs/reference/html/* ../accounts-sso.gsignon-docs/$(PACKAGE)/ && \
+ pushd . > /dev/null && \
+ cd ../accounts-sso.gsignon-docs && \
+ git add $(PACKAGE)/* && \
+ git commit -m "Updated documentation for $(PACKAGE) to version $(VERSION)" && \
+ git push ; \
+ popd > /dev/null && \
+ rm -rf $(PACKAGE)-$(VERSION)
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: