File: rules

package info (click to toggle)
soapyosmo 0.2.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,244 kB
  • sloc: cpp: 15,347; python: 11,343; xml: 263; makefile: 12; sh: 1
file content (26 lines) | stat: -rwxr-xr-x 775 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
26
#!/usr/bin/make -f
# -*- makefile -*-

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

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

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

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"

override_dh_installdocs:
	dh_installdocs --link-doc=soapyosmo-common0.7

# dh_makeshlibs creates an unnecessary ldconfig trigger for the common
# package containing a shared library in a private location (see
# https://bugs.debian.org/204975), override it to prevent that
override_dh_makeshlibs:
	dh_makeshlibs -psoapyosmo-common0.7 --no-scripts
	dh_makeshlibs --remaining-packages