File: rules

package info (click to toggle)
pyeapi 1.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,564 kB
  • sloc: python: 10,906; makefile: 197
file content (13 lines) | stat: -rwxr-xr-x 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/make -f

export PYBUILD_NAME=pyeapi
export PYBUILD_TEST_ARGS=test/unit
%:
	dh $@ --with sphinxdoc --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build
	cd docs && \
	PYTHONPATH=$(CURDIR) http_proxy= https_proxy= \
	python3 -m sphinx -N -E -T -b html . $(CURDIR)/.pybuild/docs/html/
	rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees