]> mj.ucw.cz Git - libucw.git/commitdiff
Maint: Added a script for uploading online documentation
authorMartin Mares <mj@ucw.cz>
Tue, 21 Feb 2012 17:25:32 +0000 (18:25 +0100)
committerMartin Mares <mj@ucw.cz>
Tue, 21 Feb 2012 17:25:32 +0000 (18:25 +0100)
maint/upload-doc [new file with mode: 0755]

diff --git a/maint/upload-doc b/maint/upload-doc
new file mode 100755 (executable)
index 0000000..19b73f6
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Build and upload LibUCW documentation and web pages
+# (c) 2012 Martin Mares <mj@ucw.cz>
+
+set -e
+make docs
+rsync -avz --delete obj/ucw/doc/ jw:/var/www/libucw/doc/ --exclude=*.deflist --exclude=*.txt
+rsync -avz --no-times --no-perms --executability --omit-dir-times WWW/ jw:/var/www/libucw/ --exclude=doc --exclude='*.swp'