[caffe] 01/01: rules: patch refman.tex before compiling

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sat Jan 21 10:55:48 UTC 2017


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

cdluminate-guest pushed a commit to branch master
in repository caffe.

commit 4aface400341da1338a8977cf80b0f7cbd8d26de
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Sat Jan 21 10:55:19 2017 +0000

    rules: patch refman.tex before compiling
---
 debian/changelog | 1 +
 debian/rules     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 57235c0..b0b3d30 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ caffe (1.0.0~rc4-1) UNRELEASED; urgency=medium
     by symbols change of C++ shared library.
   * Add the missing pytest target in override_dh_auto_test-arch.
   * Update LD_LIBRARY_PATH for dh_auto_test.
+  * Rules: patch refman.tex before compiling to avoid pdflatex error.
 
  -- Zhou Mo <cdluminate at gmail.com>  Sat, 21 Jan 2017 02:20:23 +0000
 
diff --git a/debian/rules b/debian/rules
index acf67d3..f8c26bc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,6 +72,7 @@ override_dh_auto_clean:
 
 override_dh_auto_build-indep:
 	doxygen .Doxyfile # we don't use BUILD_DOC provided by upstream cmake
+	sed -i -e 's/]{hyperref}/,draft]{hyperref}/g' doxygen/latex/refman.tex # patch the tex source to avoid a pdflatex compilation error
 	$(MAKE) -C doxygen/latex/
 	sed -i -e 's/cdn.mathjax.org/127.0.0.1/g' docs/_layouts/default.html # lintian privacy
 	sed -i -e 's/code.jquery.com/127.0.0.1/g' examples/web_demo/templates/index.html # lintian privacy

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