render: Rename "typed buffer" to "buffer view".
[chickadee.git] / pre-inst-env.in
1 #!/bin/sh
2
3 # Chickadee Game Toolkit
4 # Copyright © 2016 David Thompson <davet@gnu.org>
5 #
6 # Chickadee is free software: you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # Chickadee is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with Chickadee. If not, see <http://www.gnu.org/licenses/>.
18
19 abs_top_srcdir="`cd "@abs_top_srcdir@" > /dev/null; pwd`"
20 abs_top_builddir="`cd "@abs_top_builddir@" > /dev/null; pwd`"
21
22 GUILE_LOAD_COMPILED_PATH="$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
23 GUILE_LOAD_PATH="$abs_top_builddir:$abs_top_srcdir${GUILE_LOAD_PATH:+:}:$GUILE_LOAD_PATH"
24 export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
25
26 PATH="$abs_top_builddir/scripts:$PATH"
27 export PATH
28
29 CHICKADEE_DATADIR="$abs_top_builddir/data"
30 export CHICKADEE_DATADIR
31
32 exec "$@"