Subversion Repositories wimsdev

Rev

Rev 17289 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8255 bpr 1
#! /bin/sh
8259 bpr 2
 
3
echo "##generated by src/define.sh"
8255 bpr 4
grep "#define MAX_SHEETS" wimsdef.h | awk -F'#define MAX_SHEETS' ' {print "MAX_SHEETS="$2 ; exit}'
5
grep "#define MAX_EXOS" wimsdef.h | awk -F'#define MAX_EXOS' ' {print "MAX_EXOS="$2 ; exit}'
6
grep "#define MAX_REQUIRE" wimsdef.h | awk -F'#define MAX_REQUIRE' ' {print "MAX_REQUIRE="$2 ; exit}'
7
grep "#define MAX_EXAMS" wimsdef.h | awk -F'#define MAX_EXAMS' ' {print "MAX_EXAMS="$2 ; exit}'
8368 bpr 8
grep "#define MAX_VOTES" wimsdef.h | awk -F'#define MAX_VOTES' ' {print "MAX_VOTES="$2 ; exit}'
9
grep "#define MAX_OEFCHOICES" wimsdef.h | awk -F'#define MAX_OEFCHOICES' ' {print "MAX_OEFCHOICES="$2 ; exit}'
10
grep "#define MAX_OEFREPLIES" wimsdef.h | awk -F'#define MAX_OEFREPLIES' ' {print "MAX_OEFREPLIES="$2 ; exit}'
12021 guerimand 11
grep "#define MAX_TECHVARVAL" wimsdef.h | awk -F'#define MAX_TECHVARVAL' ' {print "MAX_TECHVARVAL="$2 ; exit}'
15740 guerimand 12
grep "#define MAX_LTECHVAR" wimsdef.h | awk -F'#define MAX_LTECHVAR' ' {print "MAX_LTECHVAR="$2 ; exit}'
12302 bpr 13
grep "#define MAX_SEEDSCORE" wimsdef.h | awk -F'#define MAX_SEEDSCORE' ' {print "MAX_SEEDSCORE="$2 ; exit}'
14
grep "#define MAX_SCORESEED" wimsdef.h | awk -F'#define MAX_SCORESEED' ' {print "MAX_SCORESEED="$2 ; exit}'
12933 guerimand 15
grep "#define MAX_REGVARS" wimsdef.h | awk -F'#define MAX_REGVARS' ' {print "MAX_REGVARS="$2 ; exit}'
12122 bpr 16
grep "#define MAX_PROMPTLEN" OefMsg2wims/oef2wims.h | awk -F'#define MAX_PROMPTLEN' ' {print "MAX_PROMPTLEN="$2 ; exit}'
14328 guerimand 17
grep "#define MAX_FREEWORKS" wimsdef.h | awk -F'#define MAX_FREEWORKS' ' {print "MAX_FREEWORKS="$2 ; exit}'
14329 guerimand 18
grep "#define MAX_USERFORGRADES" wimsdef.h | awk -F'#define MAX_USERFORGRADES' ' {print "MAX_USERFORGRADES="$2 ; exit}'
16124 guerimand 19
grep "#define MAX_SUBCLASSES" wimsdef.h | awk -F'#define MAX_SUBCLASSES' ' {print "MAX_SUBCLASSES="$2 ; exit}'
17326 bpr 20
echo "DEBUG_MODULE=qualite@wimsedu.info"
10922 bpr 21
echo "DF_SEVERITY=1 2 1"
11962 guerimand 22
echo "MAX_WEIGHT=10000"
12146 guerimand 23
echo "MIN_WEIGHT=0"
13134 obado 24
# list of directories potentially containing user files (in addition to ".users/")
12161 obado 25
# (used in deluser, usermanage/recover.proc, adm/raw...)
26
echo "USER_DIR_LIST=examlog,exolog,noscore,score,photoboard"
13111 bpr 27
echo "backup_delete=2000"