From 7c35f298812b8e725da94e7391b01761dcdc4be2 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Thu, 4 Oct 2012 15:56:23 -0400 Subject: [PATCH] Add publish-docs-master target Signed-off-by: David Zeuthen --- Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile.am b/Makefile.am index cb92521..5cd02cf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,5 +27,15 @@ publish-docs : scp doc/html/* "david@people.freedesktop.org:/srv/udisks.freedesktop.org/www/docs/$(VERSION)" ssh "david@people.freedesktop.org" "rm -f /srv/udisks.freedesktop.org/www/docs/latest; ln -s $(VERSION) /srv/udisks.freedesktop.org/www/docs/latest" +# publish docs readable from http://udisks.freedesktop.org/docs/master/ (instead of latest) +# +# This is useful for work-in-progress when hacking on master and you want +# to easily share API ideas etc. with others without requiring them to +# build master themselves +publish-docs-master : + gtkdoc-rebase --html-dir doc/html --online + ssh "david@people.freedesktop.org" "rm -rf /srv/udisks.freedesktop.org/www/docs/master; mkdir -p /srv/udisks.freedesktop.org/www/docs/master" + scp doc/html/* "david@people.freedesktop.org:/srv/udisks.freedesktop.org/www/docs/master" + clean-local : rm -f *~ -- 2.7.4