File: rules

package info (click to toggle)
configobj 5.0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 900 kB
  • sloc: python: 3,034; makefile: 159; sh: 8
file content (25 lines) | stat: -rwxr-xr-x 516 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=configobj

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

override_dh_auto_clean:
	dh_auto_clean
	make -C docs clean

override_dh_auto_build:
	dh_auto_build
	make -C docs html

override_dh_auto_test:
	dh_auto_test -- --test-pytest --test-args "$(CURDIR)/tests"

override_dh_compress:
	dh_compress -X.js

override_dh_installdocs:
	dh_installdocs -p python-configobj-doc --doc-main-package=python-configobj-doc
	dh_installdocs --remaining-packages