# Makefile for Moe
# (c) 2008--2012 Martin Mares <mj@ucw.cz>
-VERSION=1.0.99-20080220
+VERSION=2.0
# The default target
all: runtree programs datafiles configs
Moe Contest Environment @VERSION@
- (c) 2001--2008 Martin Mares <mj@ucw.cz>
+ (c) 2001--2012 Martin Mares <mj@ucw.cz>
+ and other contributors
================================================================================
If you have any suggestions, bug reports or improvements you would like to share
with others, please send them to mj@ucw.cz.
+** How to build Moe **
-** How to compile the submission system **
+First of all, edit default.cfg to choose which components should be built.
-First, unpack holmes-libs-3.12, configure it and run make. You can build a thinner
-version with `./configure default.cfg -CONFIG_IMAGES -CONFIG_UCW_THREADS -CONFIG_SHARED'.
-
-Then uncomment the "SUBMIT" line in the top-level Makefile and let LIBUCW
-point to the compiled Holmes libraries.
+Then run "./configure" and "make". This will place all compiled binaries in "run/".
# Default configuration file for Moe
+# By default, only the core parts are built, including box and isolate.
+# If you wish to build more, enable it below.
# Compile the submit server
-Set("CONFIG_SUBMIT" => 1);
+#Set("CONFIG_SUBMIT" => 1);
# Build MO-P contest environment
-Set("CONFIG_MOP" => 1);
+#Set("CONFIG_MOP" => 1);
# If you are running a 64-bit Linux kernel, you need to build a 64-bit
# sandbox and decide whether your userspace is 32- or 64-bit.
#!/usr/bin/perl
-# A simple script for making releases of mo-eval
-# (c) 2005--2008 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|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/mj/eval/"
+ "url" => "scp://jabberwock.ucw.cz/~ftp/pub/moe/"
};
$r->ParseOptions;
$r->InitDist("maint/dist");
if ($r->{"do_upload"}) {
print "Updating documentation at Jabberwock\n";
- `rsync -a doc/. jabberwock.ucw.cz:www/mo-eval/`; die if $?;
+ `rsync -av --delete doc/. jabberwock.ucw.cz:/var/www/moe/`; die if $?;
}