4 export PATH=/usr/local/bin:$PATH
5 REPOSITORY=http://lemon.cs.elte.hu/hg/lemon/
9 LASTREV_FILE=$ROOT/last-rev
10 LASTREV=`cat $LASTREV_FILE`
19 if [ $LASTREV -lt $REV ]; then
20 # Delete autom4te.cache in order to get configure regenerated
21 # and the new revision number propagated into it.
29 cp -r $WORKINGCOPY/doc/html latest-doc
30 echo $REV >$LASTREV_FILE
33 elif [ $1 = '--help' ]; then
35 echo ' make-doc --init'
36 echo ' make-doc --help'
39 elif [ $1 = '--init' ]; then
41 hg clone $REPOSITORY $WORKINGCOPY
42 echo '0' >$LASTREV_FILE