File: rules

package info (click to toggle)
python-libdiscid 1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 664 kB
  • sloc: python: 576; ansic: 104; sh: 14; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 464 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

# Get the default Python 3 version
PY3VERSD=$(shell py3versions -vd)

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

override_dh_auto_build-indep:
	pybuild --build -p $(PY3VERSD) --build-args="build_ext --inplace"
	pybuild --build -p $(PY3VERSD) --build-args="build_sphinx"

# no install and test for indep
override_dh_auto_install-indep override_dh_auto_test-indep:

override_dh_installdocs-indep:
	dh_installdocs -i
	dh_sphinxdoc -i