
#!/bin/sh
set -e
exec 3<&1 >make.log 2>&1

if [ "x$CLEAN" != "x" ]; then
    notify-send "ultra cleaning"
    rm */ -Rf
    rm config.*
    rm Makefile
fi
../src/configure -C --prefix=/var/opt/racket --enable-perl
make -j3 
nice make install DESTDIR=`pwd`/temp-install
notify-send "Racket compiled!"
