Commit 750fcca7 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

debian: use local version of require.js

* debian/control (spot-doc): Depends on libjs-requirejs.
* debian/rules (fix-js): Replace uses.
parent 24a48c9f
......@@ -71,7 +71,7 @@ Description: functions for generating formulas and automata in Spot
Package: spot-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, libjs-mathjax, libjs-jquery
Depends: ${misc:Depends}, libjs-mathjax, libjs-jquery, libjs-requirejs
Description: documentation for Spot
HTML and PDF documentation for Spot.
......@@ -103,6 +103,7 @@ override_dh_compress:
perl -pi -e 's||file:///usr/share/javascript/mathjax/MathJax.js|' doc/userdoc/*.html
perl -pi -e 's|*/require.min.js|file:///usr/share/javascript/requirejs/require.min.js|' tests/python/*.html
perl -pi -e 's|*/MathJax.js|file:///usr/share/javascript/mathjax/MathJax.js|' tests/python/*.html doc/userdoc/*.html
perl -pi -e 's|*/MathJax.js|file:///usr/share/javascript/mathjax/MathJax.js|' tests/python/*.html doc/userdoc/*.html
perl -pi -e 's||file:///usr/share/javascript/jquery/jquery.min.js|' tests/python/*.html
Supports Markdown
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