mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-29 06:04:11 +01:00
16 lines
218 B
Bash
16 lines
218 B
Bash
|
#!/bin/sh
|
||
|
# test out-of-tree builds in a temp directory
|
||
|
# passes all args to make
|
||
|
|
||
|
set -eu
|
||
|
|
||
|
srcdir="$(cd "$(dirname "$0")"/.. && pwd)"
|
||
|
builddir=$(mktemp -d)
|
||
|
|
||
|
cd $builddir
|
||
|
|
||
|
$srcdir/configure
|
||
|
make "$@"
|
||
|
|
||
|
rm -rf $builddir
|