[otb] 02/04: generate control file before configure

Rashad Kanavath rashad-guest at moszumanska.debian.org
Thu Dec 17 18:01:41 UTC 2015


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

rashad-guest pushed a commit to branch master
in repository otb.

commit 56d8d202331d4d70adc1206a5682e4e723cb765b
Author: Rashad Kanavath <rashad.kanavath at c-s.fr>
Date:   Thu Dec 17 15:11:49 2015 +0100

    generate control file before configure
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0a92509..f5581df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ TEMPLATES=$(wildcard debian/*.in)
 OTB_VERSION_MAJOR  = $(shell sed -ne 's/set(OTB_VERSION_MAJOR "\([0-9]*\)")/\1/p' CMakeLists.txt)
 OTB_VERSION_MINOR  = $(shell sed -ne 's/set(OTB_VERSION_MINOR "\([0-9]*\)")/\1/p' CMakeLists.txt)
 OTB_VERSION_PATCH  = $(shell sed -ne 's/set(OTB_VERSION_PATCH "\([0-9]*\)")/\1/p' CMakeLists.txt)
-OTB_VERSION_SONAME = "$(OTB_VERSION_MAJOR).$(OTB_VERSION_MINOR)-1"
+OTB_VERSION_SONAME = $(OTB_VERSION_MAJOR).$(OTB_VERSION_MINOR)-1
 OTB_VERSION_FULL   = "$(OTB_VERSION_MAJOR).$(OTB_VERSION_MINOR).$(OTB_VERSION_PATCH)"
 
 
@@ -69,7 +69,7 @@ OTB_LIB_DIRS = $(CURDIR)/debian/tmp/usr/lib
 	dh $@ --with pkgkde_symbolshelper --parallel
 
 override_dh_auto_configure:
-	dh_auto_configure -- $(CMAKE_FLAGS)
+	dh_auto_configure -- templates $(CMAKE_FLAGS)
 
 override_dh_makeshlibs:
 	dh_makeshlibs -- -c0 -v$(OTB_VERSION_FULL)
@@ -81,7 +81,7 @@ override_dh_install:
 	dh_install --list-missing
 	rm -f $(CURDIR)/debian/$(pkglib)/usr/lib/$(DEB_HOST_MULTIARCH)/libOTBWrapper*
 	rm -f $(CURDIR)/debian/$(pkgdev)/usr/lib/$(DEB_HOST_MULTIARCH)/libOTBWrapper*
-	rm -f $(CURDIR)/debian/python-otb/usr/lib/otb/python/*.pyc
+	rm -f $(CURDIR)/debian/tmp/usr/lib/otb/python/*.pyc
 
 override_dh_installchangelogs:
 	dh_installchangelogs RELEASE_NOTES.txt

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



More information about the Pkg-grass-devel mailing list