#!/usr/bin/make -f # See debhelper(7) (uncomment to enable) # output every command that modifies files on the build system. #export DH_VERBOSE = 1 # Security Hardening export DEB_BUILD_MAINT_OPTIONS = hardening=+all override_dh_install: rm -f obj-*/docs/old/html/.buildinfo sed -i " \ s%http[s]*://cdn.mathjax.org/mathjax/latest/MathJax.js%file:///usr/share/javascript/mathjax/MathJax.js%; \ s%https://cdnjs.cloudflare.com/ajax/libs/mathjax/[0-9].[0-9].[0-9]/MathJax.js%file:///usr/share/javascript/mathjax/MathJax.js%" \ obj-*/docs/old/html/*.html dh_install %: dh $@ --with sphinxdoc