[linop] 02/06: d/rules: add symlink to system mathjax in doc pkg

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jul 1 10:58:35 UTC 2015


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

ghisvail-guest pushed a commit to branch master
in repository linop.

commit 77c6e84b59dc6bf76590bdb9c62c2fe68ad805cf
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Jul 1 11:46:37 2015 +0100

    d/rules: add symlink to system mathjax in doc pkg
---
 debian/rules | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index ef4953d..2b4b9d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@
 #export DH_VERBOSE=1
 
 export PYBUILD_NAME=linop
+DOCPKG = python-$(PYBUILD_NAME)-doc
 
 LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
 BUILD_DATE  = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
@@ -16,5 +17,8 @@ override_dh_auto_install-indep:
 
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
-	dh_sphinxdoc --package=python-$(PYBUILD_NAME)-doc
+	dh_link --package=$(DOCPKG) \
+		/usr/share/javascript/mathjax/MathJax.js \
+		/usr/share/doc/$(DOCPKG)/html/_static/MathJax.js
+	dh_sphinxdoc --package=$(DOCPKG)
 endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/linop.git



More information about the debian-science-commits mailing list