Skip to content
Snippets Groups Projects
Verified Commit 4b43adbb authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Source package: no longer embed a copy of MathJax

The copy of MathJax that we were embedding was not source code, because it
contained minified Javascript. In particular, this is a problem for the
official Debian package.

We now strip the copy. Users compiling the HTML manual from the source tarball
will therefore get MathJax from a CDN (this is the default behaviour of
Sphinx).

(cherry picked from commit d98cf641)
parent 5e80b276
Branches
Tags
1 merge request!1815WIP Cherry-picks for 4.6
......@@ -66,6 +66,7 @@ build_doc:
pkg_source:
stage: test_and_pkg
script:
- rm doc/manual/source/_static/mathjax && sed -i "/^mathjax_path *=/d" doc/manual/source/conf.py
- 'for f in configure.ac preprocessor/configure.ac mex/build/matlab/configure.ac mex/build/octave/configure.ac; do sed -i "s/^AC_INIT(\[\(.*\)\],\s*\[\(.*\)\])/AC_INIT([\1], [$VERSION])/" $f; done'
- autoreconf -si
- ./configure --with-matlab=$MATLAB_PATH MATLAB_VERSION=$MATLAB_VERSION
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment