]> granicus.if.org Git - postgis/commitdiff
Added DESTDIR so that raster2pgsql.py is installed in the user-specified path
authorBborie Park <bkpark at ucdavis.edu>
Wed, 24 Aug 2011 17:40:55 +0000 (17:40 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Wed, 24 Aug 2011 17:40:55 +0000 (17:40 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7781 b70326c6-7e19-0410-871a-916f4a2858ee

raster/scripts/python/Makefile.in

index 38923370d9f400e19e5c00b01db3fd11a6149aa8..05106531e8cfaab7673d92fd644f2b022ee8f0b1 100644 (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