#! /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