]> mj.ucw.cz Git - libucw.git/blobdiff - maint/upload-doc
Debian: A separate package for (most) Perl modules
[libucw.git] / maint / upload-doc
index 19b73f629e7faa0f435ce61c6eca264a41d6e562..6e1c0c0a7ccec1b42d2d018e2dad15e62cc396a3 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-json-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'