File: rules

package info (click to toggle)
python-pylatex 1.4.2%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,044 kB
  • sloc: python: 3,810; sh: 209; makefile: 169; xml: 12
file content (18 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=pylatex

%:
	dh $@ --with sphinxdoc --buildsystem=pybuild

override_dh_installdocs:
	https_proxy='127.0.0.1:9' sphinx-build -b html docs/source build/sphinx/html
	dh_installdocs -ppython-pylatex-doc --doc-main-package=python-pylatex-doc build/sphinx/html
	dh_installdocs

override_dh_installexamples:
	dh_installexamples -ppython-pylatex-doc --doc-main-package=python-pylatex-doc

override_dh_install:
	dh_install
	find debian/python3-pylatex -type f \( -name "*.pdf" -o -name "*.tex" \) -delete