File: rules

package info (click to toggle)
flufl.lock 5.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 280 kB
  • sloc: python: 810; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 356 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME=flufl.lock
export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/docs' \
	{destdir}/{install_dir}/.coverage*

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

override_dh_installchangelogs:
	dh_installchangelogs -k docs/NEWS.rst

override_dh_auto_build:
	dh_auto_build
	python3 setup.py build_sphinx