[caffe] 06/08: rules: fix lintian on caffe-doc

Zhou Mo cdluminate-guest at moszumanska.debian.org
Wed May 18 10:51:28 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 6b892ca23992f4abbe7d228d1255dc0edb256172
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Wed May 18 10:46:47 2016 +0000

    rules: fix lintian on caffe-doc
---
 debian/rules | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 572b95f..eca187f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -83,8 +83,14 @@ override_dh_auto_clean:
 	-$(RM) python/caffe/_caffe.so
 
 override_dh_auto_build-indep:
-	doxygen .Doxyfile
+	doxygen .Doxyfile # we don't use BUILD_DOC provided by upstream cmake
 	$(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
+	sed -i -e 's/netdna.bootstrapcdn.com/127.0.0.1/g' examples/web_demo/templates/index.html # lintian privacy
+	find doxygen/html -name 'jquery.js' -delete # lintian embedded-javascript
+	find docs -size 0 -delete # lintian zero-byte-file
+	find docs -name '.gitignore' -delete # lintian vcs-control-file
 
 override_dh_auto_build-arch:
 	dh_auto_build --builddirectory=$(BUILDDIR) \

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