[sasview] 01/02: Remove build paths from sphinx html output
Stuart Prescott
stuart at debian.org
Fri Jan 5 03:30:52 UTC 2018
This is an automated email from the git hooks/post-receive script.
stuart pushed a commit to branch master
in repository sasview.
commit 1b7c795a59c28a9ce59ed7f974324747e0ab86ec
Author: Stuart Prescott <stuart at debian.org>
Date: Thu Jan 4 14:07:03 2018 +1100
Remove build paths from sphinx html output
Incorporate patch from Chris Lamb that hopefully makes the build reproducible
now.
(Closes: #885853)
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index 76605c6..af95725 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,6 +31,9 @@ override_dh_auto_build-indep:
# reassemble the docs from dependent packages to make the overall
./debian/fetchdocs
python ./docs/sphinx-docs/build_sphinx.py
+ # Strip absolute build paths from HTML documentation
+ find -type f -name '*.html' -print0 | \
+ xargs -0r sed -i -e "s@$(CURDIR)/`echo build/lib.*`@path/to at g"
ln -sf /usr/share/javascript/mathjax/ docs/sphinx-docs/build/html/_static/
touch test/__init__.py
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sasview.git
More information about the debian-science-commits
mailing list