File: rules

package info (click to toggle)
sosreport 3.3%2Bgit50-g3c0349b-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,188 kB
  • ctags: 2,342
  • sloc: python: 10,252; makefile: 422; sh: 13
file content (14 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

DH_ALWAYS_EXCLUDE=.git
export PYBUILD_NAME=sosreport
export PYBUILD_DISABLE_python2=1
export PYBUILD_BEFORE_BUILD=make updateversion
export PYBUILD_INSTALL_ARGS_python3=--install-lib=usr/share/sosreport/ \
	--install-data=usr/ \
	--install-scripts=usr/share/sosreport/ \
	--root=$(CURDIR)/debian/sosreport/ \
	--no-compile -O0

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