File: rules

package info (click to toggle)
python-structlog 20.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 920 kB
  • sloc: python: 3,585; makefile: 139
file content (20 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export PYBUILD_NAME=structlog
%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_clean:
	make -C docs clean
	dh_auto_clean

override_dh_sphinxdoc:
	cp -a docs/_build/html debian/python-structlog-doc/usr/share/doc/python-structlog-doc/
	dh_sphinxdoc

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. \
	http_proxy=http://127.0.0.1:9 \
	https_proxy=https://127.0.0.1:9 \
	make -C docs html