From 5187c04c51ca8646ec5289022d8de3e64c0d093f Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Sat, 4 May 2002 20:30:17 +0000 Subject: [PATCH] Added an "install" target which installs shp2pgsql and pgsql2shp in the default pgsql bin directory. git-svn-id: http://svn.osgeo.org/postgis/trunk@148 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/loader/Makefile b/loader/Makefile index 2a8e946d8..ed474a3c9 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -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 -- 2.40.0