File: rules

package info (click to toggle)
python-tomlkit 0.11.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,060 kB
  • sloc: python: 5,720; makefile: 20; sh: 5
file content (16 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=tomlkit
export PYBUILD_TEST_PYTEST=1

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

override_dh_installdocs:
	PYTHONPATH=.:$PYTHONPATH sphinx-build -b text docs debian
	dh_installdocs

override_dh_auto_clean:
	rm -f debian/*.txt
	rm -rf debian/.doctrees
	dh_auto_clean