Add:Tools:Added autogen.sh and updated readme
authorkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 18 Jun 2008 11:04:46 +0000 (11:04 +0000)
committerkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 18 Jun 2008 11:04:46 +0000 (11:04 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1138 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/tools/gpx2navit_txt/README
navit/navit/tools/gpx2navit_txt/autogen.sh [new file with mode: 0755]

index afa9853..ecb3f99 100644 (file)
@@ -13,6 +13,11 @@ This is a output of Metro Manila Transit Map Project by JOCV (Japan
 Overseas Cooperation Volunteers) program of JICA (Japan International
 Cooperation Agency in 2004. It is provided you on GPL2.
 
+Compilation/Installation
+========================
+run ./autogen.sh && ./configure && make
+run make install if you want the binary to be installed in your system.
+run make uninstall to wipe everything related.
 
 How to Use
 ==========
diff --git a/navit/navit/tools/gpx2navit_txt/autogen.sh b/navit/navit/tools/gpx2navit_txt/autogen.sh
new file mode 100755 (executable)
index 0000000..ba84850
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+for pkg in pkg-config libtool automake aclocal autoreconf:autoconf autopoint:gettext
+do
+       if ! ${pkg%%:*} --version >/dev/null 
+       then
+               echo "You need to install ${pkg##*:}"
+               exit 1
+       fi
+done
+
+autoreconf --force --install -I m4