File: rules

package info (click to toggle)
python-utils 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 348 kB
  • sloc: python: 1,994; makefile: 20; sh: 5
file content (17 lines) | stat: -rwxr-xr-x 304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_TEST_PYTEST=1

%:
	dh $@ --buildsystem=pybuild

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


override_dh_auto_clean:
	dh_auto_clean
	rm -rf python_utils.egg-info docs/_build