[caffe] 215/249: d/rules: let's see if it works

Zhou Mo cdluminate-guest at moszumanska.debian.org
Tue Mar 8 14:51:44 UTC 2016


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

cdluminate-guest pushed a commit to branch debian/experimental
in repository caffe.

commit 04d925ab65e3dd21e9113b37839bb16458362937
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Thu Sep 3 14:17:21 2015 +0000

    d/rules: let's see if it works
---
 debian/rules | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index c614963..0bf8f5f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -105,7 +105,22 @@ ifeq (y, $(flag_build_caffe_cuda))
 endif
 
 override_dh_makeshlibs:
-	dh_makeshlibs --noscripts
+	dh_makeshlibs \
+		--package=caffe-cpu \
+		--package=libcaffe-cpu0 \
+		--package=libcaffe-cpu-dev
+	dh_makeshlibs \
+		--package=python-caffe-cpu \
+		-X/usr/lib/python
+ifeq (y, $(flag_build_caffe_cuda))
+	dh_makeshlibs \
+		--package=caffe-cuda \
+		--package=libcaffe-cuda0 \
+		--package=libcaffe-cuda-dev
+	dh_makeshlibs \
+		--package=python-caffe-cuda \
+		-X/usr/lib/python
+endif
 
 override_dh_shlibdeps:
 	dh_shlibdeps \

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



More information about the debian-science-commits mailing list