#!/bin/sh # test out-of-tree builds in a temp directory # passes all args to make set -e srcdir="$(cd "$(dirname "$0")"/.. && pwd)" builddir=$(mktemp -d) cd $builddir $srcdir/configure make "$@" cd $notmuch_dir rm -rf $builddir