[gmt] 02/08: Override dh_auto_configure to use custom CMake options.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Aug 24 19:36:09 UTC 2015


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

sebastic pushed a commit to branch master
in repository gmt.

commit 05a79fee6169af139434914cf8918a0bb84d8283
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Jul 30 22:50:59 2015 +0200

    Override dh_auto_configure to use custom CMake options.
---
 debian/changelog | 1 +
 debian/rules     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 67e6bca..b380594 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 gmt (5.1.2+dfsg1-2~exp2) UNRELEASED; urgency=medium
 
   * Use mpi-default-dev to select the architecture specific HDF5 MPI flavor.
+  * Override dh_auto_configure to use custom CMake options.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 30 Jul 2015 22:35:49 +0200
 
diff --git a/debian/rules b/debian/rules
index ebe93c0..2f2c3ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,9 @@ override_dh_auto_clean:
 	rm -rf $(BUILDDIR) $(DESTDIR)
 	dh_auto_clean
 
+override_dh_auto_configure:
+	dh_auto_configure -B $(BUILDDIR) -- $(CMAKE_OPTS)
+
 override_dh_auto_build-arch:
 	mkdir $(BUILDDIR) || true 
 	cd $(BUILDDIR) && cmake $(CMAKE_OPTS) ../..

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



More information about the Pkg-grass-devel mailing list