File: rules

package info (click to toggle)
libtermkey 0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 392 kB
  • ctags: 372
  • sloc: ansic: 3,502; makefile: 116
file content (28 lines) | stat: -rwxr-xr-x 671 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
27
28
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie

include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/pkg-info.mk

# Makefile doesn't honor CPPFLAGS
CFLAGS += $(CPPFLAGS)

export CFLAGS LDFLAGS

%:
	dh $@ --parallel

override_dh_auto_build-arch:
	$(MAKE) VERBOSE=1 PREFIX=/usr LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_auto_install-arch:
	$(MAKE) VERBOSE=1 PREFIX=/usr LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) DESTDIR=$(CURDIR)/debian/tmp install

override_dh_auto_test:
	$(MAKE) VERBOSE=1 test

override_dh_strip:
	dh_strip --dbgsym-migration='libtermkey-dbg (<< 0.18-2~)'