File: mkinstall

package info (click to toggle)
glob2 0.9.4.4-2.3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 34,452 kB
  • ctags: 10,285
  • sloc: cpp: 89,684; python: 868; ansic: 259; makefile: 62; sh: 49
file content (29 lines) | stat: -rwxr-xr-x 1,124 bytes parent folder | download | duplicates (5)
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