#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export GETTEXT_PACKAGE = libvisual-0.4

# Default configure flags
CONFIGURE_FLAGS = --enable-static

# If building with profile pkg.libvisual.nosdl, disable lv-tool and examples
ifneq (,$(filter pkg.libvisual.nosdl,$(DEB_BUILD_PROFILES)))
  CONFIGURE_FLAGS += --disable-lv-tool --disable-examples
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)

override_dh_installdocs:
	dh_installdocs -A AUTHORS NEWS README TODO

