X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=691e1943f3c230abebaac57f100f0df6b1fe1f2d;hb=ac32d9ecd4b797379528b5cb901003ba34d8f1c1;hp=bfccc236762944d8830f6b51eb797b3de351b124;hpb=5a969daed7f14f10a3a80b823be5a108696399b7;p=dead%2Fcensus-tools.git diff --git a/makefile b/makefile index bfccc23..691e194 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,7 @@ DB_NAME=census DB_USER=postgres TIGER_SRID=4269 +SHAPELY_URL=http://svn.gispython.org/svn/gispy/Shapely/trunk # Root folder for the shapefiles. TIGER_ROOT=http://www2.census.gov/geo/tiger/TIGER2009 @@ -28,18 +29,28 @@ PG_SHAREDIR=`pg_config --sharedir` # Necessary to run test/data without prerequisites. # -.PHONY : test data +.PHONY : test data lib # The default task, since it comes first in the list. # -all: clean test +all: clean lib test test: ./bin/run_tests +# Download or check out any third-party libraries. +lib: + if [ -d lib/Shapely ]; then \ + cd lib/Shapely; \ + svn update; \ + else \ + svn co $(SHAPELY_URL) lib/Shapely; \ + fi; + + # Remove byte-compiled python code. # clean: