File: rules

package info (click to toggle)
librscode 1.3-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 192 kB
  • sloc: ansic: 477; makefile: 96; sh: 5
file content (23 lines) | stat: -rwxr-xr-x 524 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
#!/usr/bin/make -f
# -*- makefile -*-

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


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

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export DEB_CFLAGS_MAINT_APPEND = -Wall -Wstrict-prototypes

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- debian-build

override_dh_auto_install:
	make DESTDIR=$(CURDIR)/debian/tmp libdir=/usr/lib/${DEB_HOST_MULTIARCH} debian-install

override_dh_auto_clean:
	dh_auto_clean -- debian-clean