-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathmkinstall
executable file
·29 lines (26 loc) · 1.1 KB
/
mkinstall
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
#
# USE THIS SCRIPT FOR INSTALLATION
#
# While the script calls "scons install", the targets must be built first (the
# install script does this, but then fails to install data, only the executable).
# To avoid it from incorrectly installing, use this script, "./install" instead
# of running "scons install" to install the files compiled for playing.
#
echo " ----------------------------------------------------"
echo " Installing distribution files"
echo " ----------------------------------------------------"
echo ""
scons #build the files in preperation for installation
echo ""
echo " ----------------------------------------------------"
echo " Remove any old files that are installed"
echo " ----------------------------------------------------"
echo ""
scons -c install #remove the files from their default directories for any previous installation
echo ""
echo " ----------------------------------------------------"
echo " Built distribution files"
echo " ----------------------------------------------------"
echo ""
scons install #install the files to their default directories