From e26fa36476c13876e45850de572cdf3f20900884 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 29 Jan 2014 00:11:37 +0100 Subject: [PATCH] Release: Use "make install-libucw-docs" to generate documentation --- maint/release | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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"; -- 2.39.2