---- gdal-1.2.0/GNUmakefile.orig 2004-02-24 15:55:47.000000000 +0100
-+++ gdal-1.2.0/GNUmakefile 2004-04-07 21:58:20.463813504 +0200
-@@ -123,8 +123,8 @@
+--- gdal-1.3.2/GNUmakefile.orig 2006-03-24 17:51:56.000000000 +0100
++++ gdal-1.3.2/GNUmakefile 2006-05-29 07:38:45.280728750 +0200
+@@ -141,8 +141,8 @@
install-docs:
(cd ogr; $(MAKE) install-docs)
web-update: docs
cp html/*.* $(WEB_DIR)
-@@ -132,9 +132,9 @@
+@@ -150,9 +150,9 @@
install: default install-actions
install-actions: install-lib
(cd port; $(MAKE) install)
(cd gcore; $(MAKE) install)
(cd frmts; $(MAKE) install)
-@@ -145,14 +145,14 @@
- ifneq ($(PYTHON),no)
- (cd pymod; $(MAKE) install)
+@@ -166,14 +166,14 @@
+ ifneq ($(BINDINGS),)
+ (cd swig; $(MAKE) install)
endif
- for f in data/*.* ; do $(INSTALL_DATA) $$f $(INST_DATA) ; done
- $(LIBTOOL_FINISH) $(INST_LIB)
else
-@@ -162,21 +162,21 @@
+@@ -183,21 +183,21 @@
GDAL_SLIB_B = $(notdir $(GDAL_SLIB))
install-lib:
endif # HAVE_LD_SHARED=no
---- gdal-1.2.0/ogr/GNUmakefile.orig 2004-02-21 16:36:44.000000000 +0100
-+++ gdal-1.2.0/ogr/GNUmakefile 2004-04-07 21:59:04.108178552 +0200
-@@ -74,8 +74,8 @@
- cp ogrsf_frmts/ogr_formats.html html
+--- gdal-1.3.2/ogr/GNUmakefile.orig 2006-03-24 17:51:57.000000000 +0100
++++ gdal-1.3.2/ogr/GNUmakefile 2006-05-29 07:39:20.254914500 +0200
+@@ -81,9 +81,9 @@
+ cp ogr_feature_style.html html
install-docs:
- $(INSTALL_DIR) $(INST_DOCS)/ogr
- cp html/* $(INST_DOCS)/ogr
+- cp ../doc/ogr/*.gif $(INST_DOCS)/ogr
+ $(INSTALL_DIR) $(DESTDIR)$(INST_DOCS)/ogr
+ cp html/* $(DESTDIR)$(INST_DOCS)/ogr
++ cp ../doc/ogr/*.gif $(DESTDIR)$(INST_DOCS)/ogr
gdalso: $(GDAL_SLIB)
-@@ -115,14 +115,14 @@
+@@ -123,14 +123,14 @@
ifeq ($(OGR_ENABLED),yes)
install-full: apps
install:
- $(INSTALL_DATA) rawdataset.h $(INST_INCLUDE)
+ $(INSTALL_DATA) rawdataset.h $(DESTDIR)$(INST_INCLUDE)
+--- gdal-1.3.2/swig/python/GNUmakefile.orig 2006-03-24 17:51:58.000000000 +0100
++++ gdal-1.3.2/swig/python/GNUmakefile 2006-05-29 07:39:37.868015250 +0200
+@@ -24,4 +24,4 @@
+ python setup.py build
+
+ install:
+- python setup.py install --prefix=$(prefix)
++ python setup.py install --prefix=$(DESTDIR)$(prefix)
+--- gdal-1.3.2/swig/ruby/RubyMakefile.mk.orig 2006-01-14 02:48:46.000000000 +0100
++++ gdal-1.3.2/swig/ruby/RubyMakefile.mk 2006-05-29 07:40:11.162096000 +0200
+@@ -38,11 +38,11 @@
+ veryclean: clean
+ rm -frd $(INSTALL_DIR)
+
+-$(INSTALL_DIR):
+- mkdir -v $(INSTALL_DIR)
++$(DESTDIR)$(INSTALL_DIR):
++ mkdir -v $(DESTDIR)$(INSTALL_DIR)
+
+-install: $(INSTALL_DIR)
+- $(INSTALL) $(RUBY_MODULES) $(INSTALL_DIR)
++install: $(DESTDIR)$(INSTALL_DIR)
++ $(INSTALL) $(RUBY_MODULES) $(DESTDIR)$(INSTALL_DIR)
+
+ $(RUBY_MODULES): %.so: %_wrap.o
+ $(LD) $(LDFLAGS) $(LIBS) $(GDAL_SLIB_LINK) $(RUBY_LIB) $< -o $@