#! /usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS))) DEB_CONFIGURE_EXTRA_FLAGS += --enable-debug endif ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) DEB_CONFIGURE_EXTRA_FLAGS += --disable-tests endif override_dh_auto_configure: # TODO: fix static library build with --enable-lto dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS) override_dh_auto_build: dh_auto_build ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS)),) $(MAKE) doc endif %: dh $@ .PHONY: override_dh_auto_configure override_dh_auto_build