File: rules

package info (click to toggle)
python-pykka 4.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 520 kB
  • sloc: python: 2,817; makefile: 113
file content (16 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=pykka

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

execute_before_dh_installdocs:
	PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) \
	  python3 -m sphinx -N -b html docs/ $(CURDIR)/.pybuild/docs/html/

execute_after_dh_auto_clean:
	rm -rf .pytest_cache/