summaryrefslogtreecommitdiff
path: root/bootstrap
blob: e3ed56e355c6d08dcf5a990cc817dec52be8cae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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