autogen.sh (new file): add script for running the GNU autotools in the
[mmh] / test / setup-test
1 #!/bin/sh
2
3 set -e
4
5 TEMPDIR=`mktemp -d /tmp/nmh-test-XXXXXXXX`
6 echo $TEMPDIR > test-temp-dir
7
8 cd ..
9 ./autogen.sh
10 ./configure --prefix=$TEMPDIR --with-locking=fcntl --enable-debug
11 make clean
12 make install
13
14 echo "Path: $TEMPDIR/Mail" > $TEMPDIR/mh_profile