diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-09 20:32:36 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-09 20:32:36 +0200 |
commit | 9f7012cae9dc9419918350fa100c6cc9a2750829 (patch) | |
tree | 2b1d8283b3a22030b3c2a09f50c7c278e9ba5185 /testdist.sh | |
parent | 783f137e371a8487a3f9256f4e0b36b9be465c9c (diff) |
Dist test script.
Diffstat (limited to 'testdist.sh')
-rwxr-xr-x | testdist.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testdist.sh b/testdist.sh new file mode 100755 index 0000000..b964715 --- /dev/null +++ b/testdist.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +if [ $# -lt 1 ] +then + echo "Missing version argument." + exit 1 +fi + +VER=$1 + +make dist && ( + mkdir -p tst + cd tst + rm -Rf drumgizmo-$VER + tar xvzf ../drumgizmo-$VER.tar.gz + cd drumgizmo-$VER + ./configure --enable-lv2 --enable-cli --prefix=/usr + make + DESTDIR=$PWD/tst/install make install +) |