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
|
#! /usr/bin/make -f
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
ifeq ($(DEB_BUILD_ARCH_OS),linux)
LIBBPF_OPTS=-DLIBBPF_EMBEDDED=off
else
LIBBPF_OPTS=-DLIBBPF_ENABLED=off
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
$(LIBBPF_OPTS)
execute_after_dh_auto_install:
# remove them for now, will be included in a next upload
# (requires python and matplotlib)
rm -Rf debian/tmp/usr/share/dwarves/runtime/python debian/tmp/usr/bin/ostra-cg
|