summaryrefslogtreecommitdiff
path: root/testdist.sh
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-09-09 20:32:36 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-09-09 20:32:36 +0200
commit9f7012cae9dc9419918350fa100c6cc9a2750829 (patch)
tree2b1d8283b3a22030b3c2a09f50c7c278e9ba5185 /testdist.sh
parent783f137e371a8487a3f9256f4e0b36b9be465c9c (diff)
Dist test script.
Diffstat (limited to 'testdist.sh')
-rwxr-xr-xtestdist.sh20
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
+)