# Makefile for mo-eval and related utilities
# (c) 2007 Martin Mares <mj@ucw.cz>
-VERSION=1.0.1
+VERSION=1.0.99-20080220
#DEBUG=-ggdb
CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -Winline $(DEBUG) -std=gnu99
#!/usr/bin/perl
# A simple script for making releases of mo-eval
-# (c) 2005 Martin Mares <mj@ucw.cz>
+# (c) 2005--2008 Martin Mares <mj@ucw.cz>
use strict;
use warnings;
my $r = new UCW::Release("mo-eval");
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/local/mj/eval/"
+ }, {
+ "url" => "scp://jabberwock.ucw.cz/~ftp/pub/mj/eval/"
};
$r->ParseOptions;
$r->InitDist("maint/dist");
$r->Dispatch;
if ($r->{"do_upload"}) {
- print "Updating checked-out documentation at Atrey\n";
- `ssh atrey cd src/eval && Cu`; die if $?;
+ print "Updating documentation at Jabberwock\n";
+ `rsync -a doc/. jabberwock.ucw.cz:www/mo-eval/`; die if $?;
}