--- Makefile.in.orig 2007-08-06 05:54:24.000000000 +0800 +++ Makefile.in 2014-07-04 10:44:22.506228799 +0800 @@ -13,9 +13,9 @@ LIBS = @LIBS@ -GRASSTABLES_DIR = @prefix@/share/gdal/grass +GRASSTABLES_DIR = $(DESTDIR)@prefix@/share/gdal/grass -AUTOLOAD_DIR = @AUTOLOAD_DIR@ +AUTOLOAD_DIR = $(DESTDIR)@AUTOLOAD_DIR@ GLIBNAME = gdal_GRASS.so OLIBNAME = ogr_GRASS.so