#!/usr/bin/perl
-# A simple script for making releases of mo-eval
-# (c) 2005 Martin Mares <mj@ucw.cz>
+# A simple script for making releases of Moe
+# (c) 2005--2012 Martin Mares <mj@ucw.cz>
use strict;
use warnings;
require "maint/release.pm";
-my $r = new UCW::Release("mo-eval");
+my $r = new UCW::Release("moe");
my $ver = $r->GetVersionFromFile("Makefile", "VERSION=(.*)");
-#$r->GetVersionsFromChangelog("ChangeLog", "Released as (.*)\.");
-unshift @{$r->{"rules"}}, '^(problems|testing|solutions|maint)/.*' => '-';
+unshift @{$r->{"rules"}}, '^(problems|testing|solutions|maint|certs)/.*' => '-';
push @{$r->{"directories"}}, "problems", "testing", "solutions";
push @{$r->{"uploads"}}, {
- "url" => "scp://atrey.karlin.mff.cuni.cz/~ftp/pub/local/mj/eval/"
+ "url" => "scp://atrey.karlin.mff.cuni.cz/~ftp/pub/moe/"
+ }, {
+ "url" => "scp://jabberwock.ucw.cz/~ftp/pub/moe/"
};
+$r->{'testmake'} = './configure mop/default.cfg && make -j4';
$r->ParseOptions;
$r->InitDist("maint/dist");
$r->GenPackage;
$r->Dispatch;
if ($r->{"do_upload"}) {
- print "Updating checked-out documentation at Atrey\n";
- `ssh atrey cd src/eval && Cu`; die if $?;
+ system "maint/upload-doc";
+ die if $?;
}