summaryrefslogtreecommitdiff
path: root/testdist.sh
diff options
context:
space:
mode:
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
+)