inital debian package made
[tclrobot.git] / bootstrap
diff --git a/bootstrap b/bootstrap
new file mode 100755 (executable)
index 0000000..cec1793
--- /dev/null
+++ b/bootstrap
@@ -0,0 +1,36 @@
+#! /bin/sh
+# bootstrap -- Use this script to create generated files from the CVS dist
+
+# Avoid broken or bad automake
+#if automake --version | grep ' 1.4'; then
+#      echo "Needs automake 1.5 or later. Debian package automake1.5"
+#      exit 1
+#fi
+
+# Debian stable has the obsolete autoconf 2.13. Use 2.50 (2.52?) instead
+if autoconf --version | grep 2.13; then
+       AUTOCONF=autoconf2.50
+else
+       AUTOCONF=autoconf
+fi
+
+set -x
+
+# now generate makefiles ...
+#aclocal 
+#autoheader
+#automake --foreign --add-missing --copy
+$AUTOCONF
+
+echo " 
+Build the Makefiles with the configure command.
+For help on options or configuring run
+  ./configure --help
+  ./configure [--someoption=somevalue ...]
+
+Set the necessary environmental variables for local development in a bash
+  source source-bash
+
+Or just build the debian packages without configuring
+  dpkg-buildpackage -rfakeroot
+"