notmuch.git  about / heads / tags
Unnamed repository; edit this file 'description' to name the repository.
blob 3e443ea25bf2da1dce67d22d9d5a0cebb1768306 222 bytes (raw)
name: devel/check-out-of-tree-build.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
#!/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"

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

git clone https://yhetil.org/notmuch.git