File: bootstrap

package info (click to toggle)
hitch 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,016 kB
  • sloc: ansic: 9,362; sh: 1,262; yacc: 586; lex: 137; makefile: 125; ruby: 49
file content (22 lines) | stat: -rwxr-xr-x 284 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -e
set -u

WORK_DIR=$(pwd)
ROOT_DIR=$(dirname "$0")

test -n "$ROOT_DIR"
cd "$ROOT_DIR"

mkdir -p build-aux
autoreconf -i

cd "$WORK_DIR"
"$ROOT_DIR"/configure \
	--enable-silent-rules \
	--enable-documentation \
	--enable-warnings \
	--with-lex \
	--with-yacc \
	"$@"