From: Martin Mares Date: Tue, 28 Jan 2014 23:11:37 +0000 (+0100) Subject: Release: Use "make install-libucw-docs" to generate documentation X-Git-Tag: v5.99~1 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=e26fa36476c13876e45850de572cdf3f20900884;p=libucw.git Release: Use "make install-libucw-docs" to generate documentation --- diff --git a/maint/release b/maint/release index d43cc7be..5f34b38d 100755 --- a/maint/release +++ b/maint/release @@ -1,6 +1,6 @@ #!/usr/bin/perl # A simple script for making releases of LibUCW -# (c) 2012 Martin Mares +# (c) 2012--2014 Martin Mares 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";