#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --no-parallel

override_dh_auto_configure:
	dh_auto_configure -- YACC="bison -y" LDLIBS=-ldb

override_dh_auto_install:
	dh_auto_install -- MTHOME=debian/mmorph/usr MANDIR=debian/mmorph/usr/share/man

override_dh_installchangelogs:
	dh_installchangelogs 00CHANGES
