File: rules

package info (click to toggle)
libcork 0.15.0%2Bds-11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,680 kB
  • ctags: 1,967
  • sloc: ansic: 12,216; python: 95; sh: 85; makefile: 9
file content (17 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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%" \
		obj-*/docs/old/html/*.html
	dh_install

%:
	dh $@ --with sphinxdoc