[caffe] 05/07: rules: build doxygen document
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Wed May 18 08:32:57 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.
commit ad756db8465b9f62c0df5f8bfcb57b03bd681624
Author: Zhou Mo <cdluminate at gmail.com>
Date: Wed May 18 08:25:56 2016 +0000
rules: build doxygen document
---
debian/rules | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 3fc4008..fda1a6b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -68,7 +68,7 @@ CONFFLAG_CPU = \
dh $@ \
--parallel \
--buildsystem=cmake \
- --with python2,bash-completion
+ --with python2,bash-completion,doxygen
.PHONY: autogen
autogen: $(AUTOGEN)
@@ -79,18 +79,23 @@ override_dh_auto_configure: autogen
override_dh_auto_clean:
dh_auto_clean --builddirectory=$(BUILDDIR)
- -$(RM) -rf python/caffe/proto/
+ -$(RM) -rf python/caffe/proto/ doxygen
-$(RM) python/caffe/_caffe.so
-override_dh_auto_build:
+override_dh_auto_build-indep:
+ doxygen .Doxyfile
+ $(MAKE) -C doxygen/latex/
+
+override_dh_auto_build-arch:
dh_auto_build --builddirectory=$(BUILDDIR) \
-- all caffe pycaffe test.testbin
# In the test phase, we need to set LD_LIBRARY_PATH properly
# for those test ELFs linked with libcaffe.so.X
-override_dh_auto_test:
+override_dh_auto_test-arch:
dh_auto_test --builddirectory=$(BUILDDIR) \
-- runtest LD_LIBRARY_PATH=$(BUILDDIR)/lib/
+override_dh_auto_test-indep:
override_dh_python2:
dh_python2 --requires=python/requirements.txt
--
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