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
|