[SCM] gdal branch, master, updated. upstream/1.10.0-200-g009bec6

Bas Couwenberg sebastic at xs4all.nl
Mon Oct 14 03:21:09 UTC 2013


The following commit has been merged in the master branch:
commit 5996a9f863e90ff5c3b3621d355ebabda5764e34
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Oct 14 03:01:02 2013 +0200

    Remove additional files not installed.

diff --git a/debian/rules b/debian/rules
index 7da133b..d7e2ad1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -154,12 +154,24 @@ override_dh_auto_install:
 	install -o root -g root -m 644 $(CURDIR)/swig/java/gdal.jar $(CURDIR)/debian/tmp/usr/share/java/.
 	install -o root -g root -m 644 $(CURDIR)/swig/java/*jni.so* $(CURDIR)/debian/tmp/usr/lib/jni
 
+	# removing useless autogenerated man pages
+	rm -f $(CURDIR)/debian/tmp/usr/share/man/man1/_*_apps_.1
+
 	# removing license file
 	rm -f $(CURDIR)/debian/tmp/usr/share/gdal/$(GDAL_MAJOR).$(GDAL_MINOR)/LICENSE.TXT
+
+	# removing la file
+	rm -f $(CURDIR)/debian/tmp/usr/lib/libgdal.la
+	
+	# removing perllocal.pod
+	rm -f $(CURDIR)/debian/tmp$(PERL_PATH)/perllocal.pod
+
 	# removing empty packlist MakeMaker files
 	-find $(CURDIR)/debian/tmp$(PERL_PATH) -type f -name .packlist -exec rm -f {} \;
+
 	# removing embedded rpath in perl shlibs
-	-find $(CURDIR)/debian/tmp/$(PERL_PATH) -type f -name "*.so" -exec chrpath --delete {} \;
+	-find $(CURDIR)/debian/tmp$(PERL_PATH) -type f -name "*.so" -exec chrpath --delete {} \;
+
 	# removing embedded rpath in main lib
 	-find $(CURDIR)/debian/tmp/usr/lib -type f -name "*.so*" -exec chrpath --delete {} \;
 

-- 
GDAL/OGR library and tools



More information about the Pkg-grass-devel mailing list