Updated version to 0.2.1.
[tclrobot.git] / bootstrap
1 #! /bin/sh
2 # bootstrap -- Use this script to create generated files from the CVS dist
3
4 # Avoid broken or bad automake
5 #if automake --version | grep ' 1.4'; then
6 #       echo "Needs automake 1.5 or later. Debian package automake1.5"
7 #       exit 1
8 #fi
9
10 # Debian stable has the obsolete autoconf 2.13. Use 2.50 (2.52?) instead
11 if autoconf --version | grep 2.13; then
12         AUTOCONF=autoconf2.50
13 else
14         AUTOCONF=autoconf
15 fi
16
17 set -x
18
19 # now generate makefiles ...
20 #aclocal 
21 #autoheader
22 #automake --foreign --add-missing --copy
23 $AUTOCONF
24
25 echo " 
26 Build the Makefiles with the configure command.
27 For help on options or configuring run
28   ./configure --help
29   ./configure [--someoption=somevalue ...]
30
31 Set the necessary environmental variables for local development in a bash
32   source source-bash
33
34 Or just build the debian packages without configuring
35   dpkg-buildpackage -rfakeroot
36 "