File: rules

package info (click to toggle)
pqiv 2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 700 kB
  • sloc: ansic: 9,781; sh: 360; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 432 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

# Do not abbreviate make's output
export VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

include /usr/share/dpkg/architecture.mk
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
CONFIGURE_FLAGS += --cross=$(DEB_HOST_GNU_TYPE)
endif

%:
	dh $@


override_dh_auto_configure:
	./configure --backends-build=shared $(CONFIGURE_FLAGS)

override_dh_shlibdeps:
	dh_shlibdeps -Xlib
	dh_shlibdeps -Xbin -- -precommends