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

View file

@ -52,3 +52,10 @@ TESTS = \
relabel.py \
setxor.py \
testingaut.ipynb
SUFFIXES = .ipynb .html
.ipynb.html:
$(IPYTHON) nbconvert $< --to html
.PHONY: nb-html
nb-html: $(TESTS:.ipynb=.html)