summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 9636311c88be06d94d5ad415b55e67869f82e0f0 (plain)
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 DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Werror=implicit-function-declaration
include /usr/share/dpkg/pkg-info.mk
include /usr/share/dpkg/architecture.mk

ifeq (,$(findstring terse,$(DEB_BUILD_OPTIONS)))
        VERBOSE=1
endif

%:
	dh $@ --sourcedirectory=src

override_dh_gencontrol:
	dh_gencontrol -- -v1:$(DEB_VERSION)

override_dh_makeshlibs:
	dh_makeshlibs -- -v1:$(DEB_VERSION)

override_dh_auto_build:
	dh_auto_build -- LIBSUBDIR=lib/$(DEB_HOST_MULTIARCH) V=$(VERBOSE)

override_dh_auto_install:
	dh_auto_install -- LIBSUBDIR=lib/$(DEB_HOST_MULTIARCH) V=$(VERBOSE)