]> mj.ucw.cz Git - libucw.git/blobdiff - maint/release
Extended types: Parsing of xt_str now copies the string
[libucw.git] / maint / release
index d43cc7beccb63e35dd18b7a2fe5e1e7c3e8418a7..5f34b38d6fa478938f233d9f76ae81b5a9858c5c 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 # A simple script for making releases of LibUCW
-# (c) 2012 Martin Mares <mj@ucw.cz>
+# (c) 2012--2014 Martin Mares <mj@ucw.cz>
 
 use strict;
 use warnings;
@@ -23,9 +23,12 @@ $r->Upload;
 if ($r->{"do_upload"}) {
        my $tdir = $r->{"TESTDIR"};
        if (defined $tdir) {
+               print "Generating documentation\n";
+               `cd $tdir && make install-libucw-docs INSTALL_DOC_DIR=../doc`;
+               die if $?;
                print "Upload of documentation\n";
                $r->Confirm;
-               system qw(rsync -avz --delete), "$tdir/obj/ucw/doc/", qw(jw:/var/www/libucw/doc/ --exclude=*.deflist --exclude=*.txt);
+               system qw(rsync -avz --delete maint/tmp/doc/ucw/ jw:/var/www/libucw/doc/);
                die if $@;
        } else {
                print "WARNING: With --notest, no documentation is published!\n";