From e1189712f9979f2d4470f7f5f021ebc08dff59a3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 15 Mar 2009 17:32:28 +0100 Subject: Makefile.am: added documentation upload target This "upload" target uploads generated documentation to http://www.musicpd.org/doc/, and works only for my user account. --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index fa2efb7d6..d25703b1a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -676,6 +676,14 @@ install-data-local: doc/api/html/index.html doc/api/html/*.png doc/api/html/*.gif \ $(DESTDIR)$(docdir)/api/html +upload: $(DOCBOOK_HTML) doc/api/html/index.html + rsync -vpruz --delete doc/ cirrus@www.musicpd.org:/var/www/musicpd.org/www/doc/ \ + --chmod=Dug+rwx,Do+rx,Fug+rw,Fo+r \ + --include=protocol --include=protocol/** \ + --include=user --include=user/** \ + --include=api --include=api/** \ + --exclude=* + endif -- cgit v1.2.3