Commit 4bc1e7b0 authored by Alexander Kanavin's avatar Alexander Kanavin

Added a Makefile recipe for online documentation updates

parent e409914b
......@@ -8,3 +8,27 @@ SUBDIRS = src examples docs test
valgrind:
cd test; make valgrind
dist-hook:
@echo
@echo "==== Run 'make update-online-doc' to update online documentation ===="
@echo
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/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)
......@@ -10,7 +10,8 @@
<releaseinfo>
for gsignond-plugin-sasl.
The latest version of this documentation can be found on-line at
<ulink role="online-location" url="http://[SERVER]/gsignond-plugin-sasl/index.html">http://[SERVER]/gsignond-plugin-sasl/</ulink>.
<ulink role="online-location" url="http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond-plugin-sasl/index.html">
http://gsignon-docs.accounts-sso.googlecode.com/git/gsignond-plugin-sasl/index.html</ulink>.
</releaseinfo>
</bookinfo>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment