#!/usr/bin/make -f

export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

override_dh_auto_clean:
	dh_auto_clean
	rm -f Seq64cli/Makefile
	rm -f Seq64portmidi/Makefile
	rm -f Seq64qt5/Makefile
	rm -f Sequencer64/Makefile
	rm -f aux-files/config.guess
	rm -f aux-files/config.sub
	rm -f include/seq64-config.h
	rm -f m4/Makefile
	rm -f seq_alsamidi/Makefile
	rm -f seq_alsamidi/include/Makefile
	rm -f seq_alsamidi/src/Makefile
	rm -f seq_portmidi/Makefile
	rm -f seq_portmidi/include/Makefile
	rm -f seq_portmidi/src/Makefile
	rm -f seq_qt5/Makefile
	rm -f seq_qt5/forms/Makefile
	rm -f seq_qt5/include/Makefile
	rm -f seq_qt5/src/Makefile

%:
	dh $@ --with autoreconf
