allow setting up version when running outside dir

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-12-03 09:47:48 +01:00
parent 20091cf1e9
commit 4d2b576553

2
build
View file

@ -27,7 +27,7 @@
#set -e
basedir=${0%/*}
version=$(git describe)
version=$(cd "$basedir" && git describe)
# Manpage and HTML
A2XM="a2x -f manpage --no-xmllint -a encoding=UTF-8"