debian: Distribute the html version of the ipython notebooks

* configure.ac: Check for ipython.
* wrap/python/tests/Makefile.am (nb-html): New rule, using ipython.
* debian/control: Depend on ipython.
* debian/rules: Run nb-html.
* debian/python3-spot.examples: Install the genrated html files.
This commit is contained in:
Alexandre Duret-Lutz 2015-08-07 14:20:32 +02:00
parent fb8a16ffcc
commit 86e16af97c
5 changed files with 11 additions and 1 deletions

1
debian/rules vendored
View file

@ -73,6 +73,7 @@ override_dh_python3:
dh_python3 -p python3-spot
override_dh_auto_build:
dh_auto_build
$(MAKE) -C wrap/python/tests nb-html
fix-mathjax:
perl -pi -e 's|http://orgmode.org/mathjax/MathJax.js|file:///usr/share/javascript/mathjax/MathJax.js|' doc/userdoc/*.html