summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2021-01-09 11:57:23 +0100
committerVivien Kraus <vivien@planete-kraus.eu>2021-01-12 10:12:06 +0100
commit4b6e56ebb435f16374cebf38923393dc2f27f3ce (patch)
treeda0b56006383eb0a41a711c045427010f740842b /bootstrap
Initial commit
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap17
1 files changed, 17 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
new file mode 100755
index 0000000..e3ed56e
--- /dev/null
+++ b/bootstrap
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+VERSION=$((cat .tarball-version \
+ || git describe --tags \
+ || echo "UNRELEASED") \
+ | sed 's|/|_|g')
+
+export HOME="hall-home"
+
+hall dist -x \
+ || exit 1
+
+sed -i "s/SNAPSHOT/$VERSION/g" configure.ac || exit 1
+
+autoreconf -vif || exit 1
+
+rm -rf hall-home