| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
export HOME=$(CURDIR)/debian/fake-home |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --with sphinxdoc |
| 8 |
|
| 9 |
override_dh_auto_configure: |
| 10 |
|
| 11 |
override_dh_auto_build: |
| 12 |
$(MAKE) dunestrap |
| 13 |
SPHINXWARNOPT=--keep-going dune build --release @refman-html @refman-pdf --display=verbose |
| 14 |
|
| 15 |
override_dh_auto_test: |
| 16 |
|
| 17 |
override_dh_auto_install: |
| 18 |
find _build/default/ -type f -name "*.html" | \ |
| 19 |
xargs sed -i -e "s|https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js|file:///usr/share/nodejs/mathjax-full/es5/tex-mml-chtml.js|g" |