diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2021-01-09 11:57:23 +0100 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-01-12 10:12:06 +0100 |
commit | 4b6e56ebb435f16374cebf38923393dc2f27f3ce (patch) | |
tree | da0b56006383eb0a41a711c045427010f740842b /bootstrap |
Initial commit
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 17 |
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 |