[gdal] 01/02: Don't run dh for custom targets.

Bas Couwenberg sebastic at xs4all.nl
Sun Mar 16 08:29:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository gdal.

commit 545cbf96650736644785174fbabbd7f3e207a95d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Mar 9 19:44:44 2014 +0100

    Don't run dh for custom targets.
---
 debian/changelog | 6 ++++++
 debian/rules     | 8 +++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6d27181..8847adc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gdal (1.10.1+dfsg-5) UNRELEASED; urgency=low
+
+  * Don't run dh for custom targets.
+
+ -- Bas Couwenberg <sebastic at xs4all.nl>  Sun, 09 Mar 2014 19:43:59 +0100
+
 gdal (1.10.1+dfsg-4) unstable; urgency=medium
 
   * Add libcurl-ssl-dev as alternative to libcurl4-gnutls-dev.
diff --git a/debian/rules b/debian/rules
index ee11210..ca1ad9f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,9 +21,6 @@ GDAL_MAJOR=$(word 1,$(GDALVER))
 GDAL_MINOR=$(word 2,$(GDALVER))
 GDAL_PATCH=$(word 3,$(GDALVER))
 
-%:
-	dh $@ --with autoreconf,python2,python3
-
 versions:
 	@echo Gdal version: $(GDAL_MAJOR).$(GDAL_MINOR).$(GDAL_PATCH)
 	@echo Swig version: $(SWIGVER)
@@ -55,6 +52,11 @@ gdal-mrsid-dist:
 	mv $(CURDIR)/frmts/mrsid/libgdal-mrsid-*.tar.gz $(CURDIR)/..
 	rm -f $(CURDIR)/GDALmake.opt
 
+%:
+	if [ "$@" != "gdal-grass" -a "$@" != "gdal-ecw" -a "$@" != "gdal-mrsid" ]; then \
+		dh $@ --with autoreconf,python2,python3 ; \
+	fi
+
 override_dh_auto_clean:
 	[ ! -f GDALmake.opt ] || $(MAKE) distclean
 	rm -rf $(CURDIR)/swig/perl/*.bs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gdal.git



More information about the Pkg-grass-devel mailing list