File: rules

package info (click to toggle)
routes 2.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 868 kB
  • sloc: python: 5,022; makefile: 63
file content (14 lines) | stat: -rwxr-xr-x 385 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/make -f

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

override_dh_auto_build:
	dh_auto_build
	cd docs && \
	PYTHONPATH=$(CURDIR) http_proxy='http://127.0.0.1:9' https_proxy='https://127.0.0.1:9' \
	python3 -m sphinx -N -E -T -b html . $(CURDIR)/.pybuild/docs/html/

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.rst