File: rules

package info (click to toggle)
python-xkcd 2.4.2-3
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 128 kB
  • sloc: python: 302; makefile: 134
file content (16 lines) | stat: -rwxr-xr-x 317 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

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

override_dh_auto_clean:
	rm -rf docs/build
	dh_auto_clean

override_dh_auto_build:
	dh_auto_build
	sphinx-build -b html docs/source docs/build/html

# can't run test, no connection available
override_dh_auto_test: