[caffe-contrib] 269/362: install: using libcaffe-dev.links.in
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Tue May 3 09:24:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch master
in repository caffe-contrib.
commit 56cc66be1e2d5e8693004c862928cd060c8f9ee9
Author: Zhou Mo <cdluminate at gmail.com>
Date: Wed Mar 9 05:33:34 2016 +0000
install: using libcaffe-dev.links.in
---
debian/libcaffe-cpu-dev.links | 1 -
debian/libcaffe-cuda-dev.links | 1 -
debian/libcaffe-dev.links.in | 1 +
debian/rules | 4 ++++
4 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/libcaffe-cpu-dev.links b/debian/libcaffe-cpu-dev.links
deleted file mode 100644
index 98cfeec..0000000
--- a/debian/libcaffe-cpu-dev.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/libcaffe.so.0 usr/lib/libcaffe.so
diff --git a/debian/libcaffe-cuda-dev.links b/debian/libcaffe-cuda-dev.links
deleted file mode 100644
index 98cfeec..0000000
--- a/debian/libcaffe-cuda-dev.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/libcaffe.so.0 usr/lib/libcaffe.so
diff --git a/debian/libcaffe-dev.links.in b/debian/libcaffe-dev.links.in
new file mode 100644
index 0000000..dd8d965
--- /dev/null
+++ b/debian/libcaffe-dev.links.in
@@ -0,0 +1 @@
+usr/lib/libcaffe.so.#CAFFE_SOVER# usr/lib/libcaffe.so
diff --git a/debian/rules b/debian/rules
index 7242b5a..d2e6d75 100755
--- a/debian/rules
+++ b/debian/rules
@@ -79,6 +79,10 @@ autogen:
< libcaffe-dev.install.in > libcaffe-cpu-dev.install
perl -p -e 's{#CAFFE_CONFIGURE#}{caffe_cuda}g;' \
< libcaffe-dev.install.in > libcaffe-cuda-dev.install
+ perl -p -e 's{#CAFFE_SOVER#}{$(CAFFE_SOVER)}g;' \
+ < libcaffe-dev.links.in > libcaffe-cpu-dev.links
+ perl -p -e 's{#CAFFE_SOVER#}{$(CAFFE_SOVER)}g;' \
+ < libcaffe-dev.links.in > libcaffe-cuda-dev.links
override_dh_auto_configure:
dh_auto_configure \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe-contrib.git
More information about the debian-science-commits
mailing list