]> granicus.if.org Git - postgis/commitdiff
Added a line to automatically make shp2pgsql with 'all'
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 30 Jul 2001 16:27:11 +0000 (16:27 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 30 Jul 2001 16:27:11 +0000 (16:27 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@43 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile

index 1727896b92c034db4a26bf8679cb646e540275ac..0c3e5979a797b1bb937e15e06d3f288bcdfbbba7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,10 @@ OBJS=postgis_debug.o postgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o
 # matter.)
 SHLIB_LINK = $(filter -L%, $(LDFLAGS))
 
-all: all-lib $(NAME).sql
+all: all-lib $(NAME).sql shp2pgsql
+
+shp2pgsql:
+       cd loader; make
 
 # Shared library stuff
 include $(top_srcdir)/src/Makefile.shlib
@@ -54,6 +57,7 @@ uninstall: uninstall-lib
 
 clean distclean maintainer-clean: clean-lib
        @rm -f $(OBJS) $(NAME).sql
+       cd loader; make clean
 
 test: all
        csh regress/regress.csh $(test_db)