File: rules

package info (click to toggle)
python-canmatrix 0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 492 kB
  • sloc: python: 6,642; makefile: 21
file content (25 lines) | stat: -rwxr-xr-x 684 bytes parent folder | download
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
#! /usr/bin/make -f

export PYBUILD_NAME=canmatrix
export PYBUILD_AFTER_INSTALL_python2=rm -rf {destdir}/usr/bin/
export PYBUILD_AFTER_INSTALL_python3=mv {destdir}/usr/bin/ .pybuild/utils/
DH_PYTHON_OPTIONS = \
		--recommends-section=arxml \
		--recommends-section=dbc \
		--recommends-section=dbf \
		--recommends-section=fibex \
		--recommends-section=json \
		--recommends-section=kcd \
		--recommends-section=sym \
		--recommends-section=xls \
		--recommends-section=xlsx \
		--recommends-section=yaml \
		$(empty)

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

override_dh_python2:
	dh_python2 $(DH_PYTHON_OPTIONS)
override_dh_python3:
	dh_python3 $(DH_PYTHON_OPTIONS)