File: rules

package info (click to toggle)
sphinx-multiversion 0.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 228 kB
  • sloc: python: 767; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 605 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME= sphinx-multiversion
%:
	dh $@ --with python3,sphinxdoc  --buildsystem=pybuild
#disable presents so far unknown errors
override_dh_auto_test:
# Build sphinx HTML documentation
override_dh_auto_build-indep:
	PYTHONPATH=. http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N -bhtml docs/ build/html
# Fixe privacy-breach-generic
override_dh_link:
	dh_link
	find debian/python-sphinx-multiversion-doc/ -name '*.html' -exec sed -i 's/src=/""/g' {} \;
override_dh_install:
	dh_install
	rm -rf $(CURDIR)/debian/python3-sphinx-multiversion/usr/bin/