adjust build helper to jump into the right directory

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remotes/origin/2.1
Nico Schottelius 12 years ago
parent 5fb66cd314
commit e569e0546a
  1. 10
      bin/build-helper

@ -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…
Cancel
Save