#! /usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
        EXTRA_CONFIGURE_OPTS += --enable-debug
endif

export DH_OPTIONS += --dbg-package=libsidplayfp-dbg

override_dh_auto_clean:
	dh_auto_clean
	rm -f $(CURDIR)/docs/doxygen_sqlite3.db

override_dh_auto_build:
	dh_auto_build
	$(MAKE) doc

%:
	dh $@ --with autoreconf

.PHONY: override_dh_auto_build
