File: rules

package info (click to toggle)
efibootguard 0.21-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 816 kB
  • sloc: ansic: 7,805; makefile: 405; python: 326; sh: 84
file content (22 lines) | stat: -rwxr-xr-x 603 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

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

%:
	dh $@

override_dh_auto_build:
	@echo 'blhc: ignore-line-regexp: .* -fno-stack-protector .*.o'
	dh_auto_build
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
	help2man -N -o bg_setenv.1   -n bg_setenv   ./bg_setenv
	help2man -N -o bg_printenv.1 -n bg_printenv ./bg_printenv
	help2man -N -o bg_gen_unified_kernel.1 \
		--version-string=v$(DEB_VERSION_UPSTREAM) \
		-n "Generate unified kernel image" \
		tools/bg_gen_unified_kernel
endif