File: rules

package info (click to toggle)
configobj 5.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 540 kB
  • sloc: python: 3,016; makefile: 159; sh: 8
file content (25 lines) | stat: -rwxr-xr-x 526 bytes parent folder | download | duplicates (2)
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 $@ --buildsystem=pybuild

ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
execute_after_dh_auto_clean:
	make -C docs clean

execute_after_dh_auto_build:
	make -C docs html
endif

override_dh_auto_test:
	dh_auto_test -- --test-pytest --test-args "$(CURDIR)/src/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