#!/usr/bin/make -f include /usr/share/dpkg/architecture.mk export DEB_CFLAGS_MAINT_APPEND=-g -Wall ifeq (,$(findstring terse,$(DEB_BUILD_OPTIONS))) VERBOSE=1 endif export CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)- PREFIX=/usr build_flags = prefix=$(PREFIX) libdir_relative=lib/$(DEB_HOST_MULTIARCH) pkgconfig_dir=$(PREFIX)/lib/$(DEB_HOST_MULTIARCH)/pkgconfig V=$(VERBOSE) %: dh $@ --no-parallel override_dh_auto_build: dh_auto_build -- all doc $(build_flags) EXTRA_CFLAGS="$(CFLAGS)" override_dh_auto_install: dh_auto_install -- doc-install $(build_flags) execute_after_dh_auto_test: ./utest/trace-utest