File: rules

package info (click to toggle)
libsmraw 20181227-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 12,616 kB
  • sloc: ansic: 190,725; sh: 6,370; makefile: 1,215; python: 601; cpp: 561; sed: 16
file content (25 lines) | stat: -rwxr-xr-x 524 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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export SKIP_PYTHON_TESTS=1

%:
	dh $@ --with python2,python3

override_dh_auto_configure:
	dh_auto_configure -- --enable-python2 --enable-python3

override_dh_auto_test:
	dh_auto_test --max-parallel=1

override_dh_missing:
	dh_missing -X.la -X/pysmraw.a --fail-missing

override_dh_install:
	dh_install -X.la -X/pysmraw.a