Imported Debian patch 1.2.0b-1
[debian/splat] / configure
1 #!/bin/bash
2 # Simple script to compile (and if you're 'root', install) SPLAT! and
3 # associated utilities.  Written by John A. Magliacane, KD2BD May 2002
4 #
5 clear
6 whoami=`whoami`
7 echo "       ****************************************************************"
8 echo "       **    Welcome to SPLAT! Terrain Analysis Software by KD2BD    **"
9 echo "       ****************************************************************"
10 echo -e "\n               Now building SPLAT! and associated utilities..."
11 echo
12 ./build all
13 if [ $whoami == "root" ]; then
14         echo -e "\nNow installing SPLAT! and associated utilities..."
15         echo
16         ./install all
17 else
18         echo
19         echo "To install SPLAT! and its associated utilities, please"
20         echo "su to 'root' and execute the install script as follows:"
21         echo
22         echo -e "\t./install all"
23 fi
24 echo
25 echo "Don't forget to read the documentation under the docs directory"
26 echo "as well as the various README files in the splat and splat/utils"
27 echo "directories.  Enjoy the program!  73, de John, KD2BD"
28