File: rules

package info (click to toggle)
multiboot 0.6.96+20101113-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,008 kB
  • sloc: sh: 1,122; ansic: 609; makefile: 64; asm: 55
file content (25 lines) | stat: -rwxr-xr-x 540 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
#! /usr/bin/make -f

export DEB_CFLAGS_MAINT_STRIP := -fstack-protector
export DEB_BUILD_MAINT_OPTIONS := hardening=-all

include /usr/share/dpkg/default.mk

confflags :=
ifneq (,$(filter i386 amd64,$(DEB_HOST_ARCH_CPU)))
	confflags += --enable-example-kernel
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(confflags)

override_dh_auto_build:
	dh_auto_build
	cd doc && makeinfo --html --split=chapter --output=html multiboot.texi

override_dh_auto_install:
	dh_auto_install
	rm -f debian/multiboot/usr/share/info/dir