#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/dpkg/architecture.mk CONFIGURE_FLAGS:= --disable-werror --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) #MDDS_VER:=$(shell pkg-config --exists mdds-2.1 && echo 2.1 || echo 2.0) MDDS_VER:=3.0 CONFIGURE_FLAGS += --with-mdds=$(MDDS_VER) ifneq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS))) ifneq (,$(findstring arm,$(DEB_HOST_ARCH))) DEB_BUILD_OPTIONS += noopt endif ifneq (,$(findstring i386,$(DEB_HOST_ARCH))) DEB_BUILD_OPTIONS += noopt endif endif export DEB_BUILD_OPTIONS export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ override_dh_auto_configure: dh_auto_configure -- --without-docs $(CONFIGURE_FLAGS)