[caffe] 02/13: install: using caffe.manpages.in

Zhou Mo cdluminate-guest at moszumanska.debian.org
Wed Mar 9 06:03:57 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 64419290bc04e20a06b4d75ef7361f7e5ce6a236
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Wed Mar 9 05:19:37 2016 +0000

    install: using caffe.manpages.in
---
 debian/caffe-cuda.manpages                       | 10 ----------
 debian/{caffe-cpu.manpages => caffe.manpages.in} |  0
 debian/rules                                     |  5 +++++
 3 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/debian/caffe-cuda.manpages b/debian/caffe-cuda.manpages
deleted file mode 100644
index a7f4cd7..0000000
--- a/debian/caffe-cuda.manpages
+++ /dev/null
@@ -1,10 +0,0 @@
-debian/man/caffe.1
-debian/man/classification.1
-debian/man/compute_image_mean.1
-debian/man/convert_cifar_data.1
-debian/man/convert_imageset.1
-debian/man/convert_mnist_data.1
-debian/man/convert_mnist_siamese_data.1
-debian/man/extract_features.1
-debian/man/upgrade_net_proto_binary.1
-debian/man/upgrade_net_proto_text.1
diff --git a/debian/caffe-cpu.manpages b/debian/caffe.manpages.in
similarity index 100%
rename from debian/caffe-cpu.manpages
rename to debian/caffe.manpages.in
diff --git a/debian/rules b/debian/rules
index 2ce5bb8..c6ca4ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,6 +64,11 @@ autogen:
 		< caffe.install.in > caffe-cpu.install
 	perl -p -e "s{#CAFFE_CONFIGURE#}{caffe_cuda}g;" \
 		< caffe.install.in > caffe-cuda.install
+	perl -p -e "s{#CAFFE_CONFIGURE#}{caffe_cpu}g;" \
+		< caffe.manpages.in > caffe-cpu.manpages
+	perl -p -e "s{#CAFFE_CONFIGURE#}{caffe_cuda}g;" \
+		< caffe.manpages.in > caffe-cuda.manpages
+
 
 
 override_dh_auto_configure:

-- 
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