Added DESTDIR so that raster2pgsql.py is installed in the user-specified path

git-svn-id: http://svn.osgeo.org/postgis/trunk@7781 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Bborie Park 2011-08-24 17:40:55 +00:00
parent 7177b7be60
commit 54619c3fbf

View file

@ -18,10 +18,10 @@ PGSQL_BINDIR=@PGSQL_BINDIR@
all:
install:
$(CP) $(RASTER2PGSQL) $(PGSQL_BINDIR)/$(RASTER2PGSQL)
$(CP) $(RASTER2PGSQL) $(DESTDIR)$(PGSQL_BINDIR)/$(RASTER2PGSQL)
uninstall:
$(RM) $(PGSQL_BINDIR)/$(RASTER2PGSQL)
$(RM) $(DESTDIR)$(PGSQL_BINDIR)/$(RASTER2PGSQL)
clean:
$(RM) *.o