File: rules

package info (click to toggle)
python-utils 3.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 396 kB
  • sloc: python: 2,135; makefile: 19; sh: 5
file content (16 lines) | stat: -rwxr-xr-x 338 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 PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS=--no-cov -p no:cacheprovider

%:
	dh $@ --buildsystem=pybuild

ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
execute_after_dh_auto_build:
	cd docs && sphinx-build -M html . _build
endif


execute_after_dh_auto_clean:
	rm -rf python_utils.egg-info docs/_build