File: rules

package info (click to toggle)
python-rtree 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 396 kB
  • sloc: python: 2,887; makefile: 103; sh: 41
file content (26 lines) | stat: -rwxr-xr-x 576 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
26
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=rtree

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

override_dh_auto_clean:
	dh_auto_clean
	(cd docs && make clean)

override_dh_auto_build:
	dh_auto_build
	(cd docs && PYTHONPATH=$(shell ls -d $(CURDIR)/.pybuild/*_$(shell py3versions -dv)_*/build 2> /dev/null | head -1) make html)

override_dh_auto_test:
	dh_auto_test || echo "Ignoring test failures"

override_dh_installchangelogs:
	dh_installchangelogs docs/source/changes.txt