File: rules

package info (click to toggle)
python-btrees 6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,448 kB
  • sloc: python: 9,200; ansic: 7,020; makefile: 134
file content (18 lines) | stat: -rwxr-xr-x 400 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#-*- makefile -*-

export DEB_BUILD_HARDENING=1

export PYBUILD_NAME=btrees

export PYBUILD_AFTER_INSTALL = cd {destdir}{install_dir}/BTrees && \
	rm -r *.c *.h tests

export PURE_PYTHON=0

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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=src http_proxy=http://127.0.0.1:9/ python3 -m sphinx -qNE -b html docs build/html