File: rules

package info (click to toggle)
python-pomegranate 0.15.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 36,948 kB
  • sloc: python: 11,489; makefile: 259; sh: 28
file content (22 lines) | stat: -rwxr-xr-x 578 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
#!/usr/bin/make -f

export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export PYBUILD_NAME=pomegranate
export PYBUILD_PYTEST=true
export DEFAULT_PYVER=$(shell py3versions -v -d)

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_build-indep:
	PYTHONPATH=$(shell pybuild --print build_dir --pyver $$DEFAULT_PYVER | awk '{print $$3}') http_proxy='127.0.0.1:9' sphinx-build -N -bhtml        docs/ build/html # HTML generator

execute_after_dh_auto_clean:
	# cleaning up auto-generated files
	find . -name "*.c" -delete

execute_after_dh_python3:
	dh_numpy3