adjust build helper to jump into the right directory
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
5fb66cd314
commit
e569e0546a
1 changed files with 5 additions and 5 deletions
|
@ -21,8 +21,11 @@
|
|||
# This file contains the heavy lifting found usually in the Makefile
|
||||
#
|
||||
|
||||
basedir=${0%/*}
|
||||
version=$(cd "$basedir" && git describe)
|
||||
basedir=${0%/*}/../
|
||||
# Change to checkout directory
|
||||
cd "$basedir"
|
||||
|
||||
version=$(git describe)
|
||||
|
||||
# Manpage and HTML
|
||||
A2XM="a2x -f manpage --no-xmllint -a encoding=UTF-8"
|
||||
|
@ -42,9 +45,6 @@ MAN1DSTDIR=${MANDIR}/man1
|
|||
MAN7DSTDIR=${MANDIR}/man7
|
||||
SPEECHESDIR=docs/speeches
|
||||
|
||||
# Change to checkout directory
|
||||
cd "$basedir"
|
||||
|
||||
case "$1" in
|
||||
manbuild)
|
||||
trap abort INT
|
||||
|
|
Loading…
Reference in a new issue