debian: fix two lintian errors
* debian/control (libspot-dev): Do not depend on an exact version of spot. (spot-doc): depend on libjs-mathjax. * debian/rules: Patch doc/userdoc/ to use the local version of MathJax.
This commit is contained in:
parent
e07c70577a
commit
7770572c89
2 changed files with 10 additions and 5 deletions
7
debian/rules
vendored
7
debian/rules
vendored
|
|
@ -66,8 +66,13 @@ override_dh_auto_configure:
|
|||
--disable-devel --enable-optimizations \
|
||||
--disable-static $(PYSETUP)
|
||||
$(FLTOWORKAROUND)
|
||||
override_dh_auto_install:
|
||||
override_dh_auto_install: fix-mathjax
|
||||
dh_auto_install --destdir=$(CURDIR)/debian/tmp
|
||||
find debian/tmp -name '*.la' -exec rm -rv {} ';'
|
||||
override_dh_python3:
|
||||
dh_python3 -p python3-spot
|
||||
override_dh_auto_build:
|
||||
dh_auto_build
|
||||
|
||||
fix-mathjax:
|
||||
perl -pi -e 's|http://orgmode.org/mathjax/MathJax.js|file:///usr/share/javascript/mathjax/MathJax.js|' doc/userdoc/*.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue