Advice the reader to use make syntax instead of hacking the makefile. Thanks TomH :)
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 7 Jun 2009 15:33:20 +0000 (15:33 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 7 Jun 2009 15:33:20 +0000 (15:33 +0000)
BUILD

diff --git a/BUILD b/BUILD
index 6918415..1f9a261 100644 (file)
--- a/BUILD
+++ b/BUILD
@@ -3,17 +3,17 @@ To build gpx-import:
 You will need a C compiler, and the following Debian/Ubuntu packages:
   zlib1g-dev libbz2-dev libarchive-dev libexpat1-dev libgd2-noxpm-dev
 
-If you're using PostgreSQL you need to change this line in src/Makefile:
-
     DB := mysql
 
-to this:
+Then run:
+
+    make DB=mysql -C src
 
-    DB := postgres
+or:
 
-Then run:
+    make DB=postgres -C src
 
-    make -C src
+depending on whether you're using a mysql or postgres database.
 
 Then edit settings.sh to suit your environment, and then run
 gpx-import: