]> granicus.if.org Git - postgis/commitdiff
Added an "install" target which installs shp2pgsql and pgsql2shp in the
authorPaul Ramsey <pramsey@cleverelephant.ca>
Sat, 4 May 2002 20:30:17 +0000 (20:30 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Sat, 4 May 2002 20:30:17 +0000 (20:30 +0000)
default pgsql bin directory.

git-svn-id: http://svn.osgeo.org/postgis/trunk@148 b70326c6-7e19-0410-871a-916f4a2858ee

loader/Makefile

index 2a8e946d8a5d74f55a39ca6a3125a3c1f3446c11..ed474a3c906515bb1b4ffa01ecebdeee3c4ae28c 100644 (file)
@@ -26,6 +26,10 @@ pgsql2shp: $(OBJS) pgsql2shp.o
 shp2pgsql: $(OBJS) shp2pgsql.o
        $(CC) $(CFLAGS) $(OBJS) shp2pgsql.o $(libpq) $(LDFLAGS) $(LIBS) -o $@ 
 
+install: all
+       $(INSTALL_PROGRAM) pgsql2shp $(bindir)
+       $(INSTALL_PROGRAM) shp2pgsql $(bindir)
+
 clean:
        @rm -f $(OBJS) shp2pgsql.o pgsql2shp.o shp2pgsql pgsql2shp