3 REPOSITORY=https://lemon.cs.elte.hu/svn/hugo/trunk
7 LASTREV_FILE=$ROOT/last-rev
8 LASTREV=`cat $LASTREV_FILE`
12 REV=`svn info $WORKINGCOPY|grep 'Revision:'|cut -f 2 -d ' '`
13 LOGFILE=${ROOT}/logs/${REV}.log
15 function make-dir () {
24 if [ $LASTREV -lt $REV ]; then
31 cp -r $WORKINGCOPY/doc/html latest-doc
32 echo $REV >$LASTREV_FILE
35 elif [ $1 = '--help' ]; then
37 echo ' doxymake --init'
38 echo ' doxymake --help'
41 elif [ $1 = '--init' ]; then
44 svn co $REPOSITORY $WORKINGCOPY
45 echo '0' >$LASTREV_FILE