From ac79334eceb1fd9b0b663b75eac5e72fcf5618e4 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 15 May 2008 11:45:24 +0200 Subject: [PATCH] Moved the evaluator scripts to eval/. --- Makefile | 2 +- eval/Makefile | 9 +++++++++ bin/ev => eval/ev.sh | 4 ++-- bin/lib => eval/libeval.sh | 0 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 eval/Makefile rename bin/ev => eval/ev.sh (93%) rename bin/lib => eval/libeval.sh (100%) diff --git a/Makefile b/Makefile index 17ea270..af3658a 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ VERSION=1.0.99-20080220 # The default target -all: runtree programs +all: runtree programs datafiles # Include configuration s=. diff --git a/eval/Makefile b/eval/Makefile new file mode 100644 index 0000000..23dc796 --- /dev/null +++ b/eval/Makefile @@ -0,0 +1,9 @@ +# Makefile for MO-Eval evaluator +# (c) 2008 Martin Mares + +DIRS+=eval +PROGS+=$(addprefix $(o)/eval/,iwrapper ev) +DATAFILES+=$(o)/eval/libeval.sh + +$(o)/eval/iwrapper: $(o)/eval/iwrapper.o +$(o)/eval/ev: $(s)/eval/ev.sh diff --git a/bin/ev b/eval/ev.sh similarity index 93% rename from bin/ev rename to eval/ev.sh index 7d5ecc3..5750f0b 100755 --- a/bin/ev +++ b/eval/ev.sh @@ -3,11 +3,11 @@ # (c) 2001--2008 Martin Mares set -e -if [ ! -f config -o ! -f bin/lib ] ; then +if [ ! -f config -o ! -f lib/libeval.sh ] ; then echo "Unable to find evaluator files!" exit 1 fi -. bin/lib +. lib/libeval.sh . config while parse-cmdline "$1" ; do shift diff --git a/bin/lib b/eval/libeval.sh similarity index 100% rename from bin/lib rename to eval/libeval.sh -- 2.39.2