File: configure

package info (click to toggle)
thunk-gen 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 148 kB
  • sloc: yacc: 654; lex: 88; sh: 76; makefile: 3
file content (18 lines) | stat: -rwxr-xr-x 327 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

if [ -z "$1" ] ; then
    BLD="build"
    BLDH="build"
else
    BLDH=${!#}
fi

TOP=$(dirname "$0")

meson setup $* $BLD $TOP
[ "$?" = "0" ] || exit 1

echo
echo "Done configure"
echo "Now run \"meson compile --verbose -C $BLDH\" to build"
echo "After that you can do \"meson install -C $BLDH\" to install"