File: rules

package info (click to toggle)
hare 0.25.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,948 kB
  • sloc: asm: 1,264; makefile: 123; sh: 114; lisp: 101
file content (30 lines) | stat: -rwxr-xr-x 705 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
29
30
#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export VERSION = $(DEB_VERSION)
export PREFIX = /usr
export SRCDIR = $(PREFIX)/share

%:
	dh $@

override_dh_auto_clean:
	-dh_auto_clean
	-rm -f ./config.mk

override_dh_auto_configure:
	debian/configure $(DEB_BUILD_GNU_CPU) $(VERSION)

override_dh_auto_build:
	dh_auto_build -- SRCDIR=$(SRCDIR) PREFIX=$(PREFIX)

override_dh_auto_install:
	dh_auto_install -- SRCDIR=$(SRCDIR) PREFIX=$(PREFIX)

# disabling dh_dwz as is causing the following lintian error:
# E: hare-dbgsym: stripped-library
# [usr/lib/debug/.dwz/x86_64-linux-gnu/hare.debug]
override_dh_dwz: