]> mj.ucw.cz Git - libucw.git/blobdiff - maint/upload-doc
Maint: Uploading of documentation of companion libraries
[libucw.git] / maint / upload-doc
index 19b73f629e7faa0f435ce61c6eca264a41d6e562..457d29f30ad45186a5a268ba3ee44ac4f496e739 100755 (executable)
@@ -1,8 +1,10 @@
 #!/bin/bash
 # Build and upload LibUCW documentation and web pages
-# (c) 2012 Martin Mares <mj@ucw.cz>
+# (c) 2012--2015 Martin Mares <mj@ucw.cz>
 
 set -e
-make docs
-rsync -avz --delete obj/ucw/doc/ jw:/var/www/libucw/doc/ --exclude=*.deflist --exclude=*.txt
+rm -rf maint/tmp/doc
+mkdir -p maint/tmp/doc
+make install-libucw-docs install-libucw-xml-docs PREFIX=. INSTALL_DOC_DIR=maint/tmp/doc
+rsync -avz --delete maint/tmp/doc/ jw:/var/www/libucw/doc/
 rsync -avz --no-times --no-perms --executability --omit-dir-times WWW/ jw:/var/www/libucw/ --exclude=doc --exclude='*.swp'