Commit 51a683c2 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

debian: depend on libjs-jquery

This fix some lintian issues.

* debian/control: Add dependency.
* debian/rules: Fix the generated html page to use the local jquery.
parent b1f90817
......@@ -63,7 +63,7 @@ Description: interface between Spot and LTSmin models
Package: spot-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, libjs-mathjax
Depends: ${misc:Depends}, libjs-mathjax, libjs-jquery
Description: documentation for Spot
HTML and PDF documentation for Spot.
......@@ -67,7 +67,7 @@ override_dh_auto_configure:
--disable-devel --enable-optimizations \
--disable-static PYTHON=/usr/bin/$(PYDEFAULT)
override_dh_auto_install: fix-mathjax
override_dh_auto_install: fix-js
dh_auto_install --destdir=$(CURDIR)/debian/tmp
# Reconfigure for every other supported Python3 version,
# and build/install only the python code.
......@@ -90,6 +90,7 @@ override_dh_auto_build:
dh_compress -X.ipynb
perl -pi -e 's||file:///usr/share/javascript/mathjax/MathJax.js|' doc/userdoc/*.html
perl -pi -e 's||file:///usr/share/javascript/mathjax/MathJax.js|' tests/python/*.html
perl -pi -e 's||file:///usr/share/javascript/jquery/jquery.min.js|' tests/python/*.html
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment