File: rules

package info (click to toggle)
pyte 0.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 388 kB
  • sloc: python: 3,165; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 393 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_DESTDIR_python3=debian/python3-pyte/
export PYBUILD_DISABLE_python3=test

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

override_dh_auto_build:
	dh_auto_build
	python3 -m sphinx -b html -d docs/build/doctrees docs docs/build/html

override_dh_auto_clean:
	rm -rf docs/build/*
	dh_auto_clean

.PHONY: override_dh_auto_build override_dh_auto_clean