[opencv] 06/08: d/rules: the cmake build system is properly recognized by cmake, no need to tell it to

Mattia Rizzolo mattia at debian.org
Sun Apr 23 19:13:10 UTC 2017


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

mattia pushed a commit to branch master
in repository opencv.

commit d4f5cc8a6084a20e1aa2a994579d21067db2c8e3
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun Apr 23 20:47:54 2017 +0200

    d/rules: the cmake build system is properly recognized by cmake, no need to tell it to
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2169809..64b7176 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,14 +76,14 @@ CMAKE_FLAGS = \
 	$(CMAKE_ARCH_FLAGS)
 
 %:
-	dh $@ --buildsystem=cmake --with python2,python3,javahelper --parallel
+	dh $@ --with python2,python3,javahelper --parallel
 
 override_dh_clean:
 	rm -rf modules/python/src2/hdr_parser.pyc
 	rm -rf modules/java/generator/rst_parser.pyc
 	rm -rf modules/refman.rst
 
-	dh_clean -O--buildsystem=cmake
+	dh_clean
 	-rm -rf modules/python/src2/__pycache__
 
 override_dh_auto_clean:
@@ -128,7 +128,7 @@ override_dh_install:
 	rm -rf debian/tmp/usr/share/OpenCV/doc/html/jquery.js
 
 	find debian/tmp -type d -empty -delete
-	dh_install -O--buildsystem=cmake --list-missing
+	dh_install --list-missing
 
 override_dh_gencontrol:
 	dh_numpy

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list