#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf --sourcedirectory=src

override_dh_auto_configure:
	dh_auto_configure --sourcedirectory=src

override_dh_auto_build:
	dh_auto_build --sourcedirectory=src

override_dh_auto_test:
	obj-*/graphconstructor/twopaco --test -f 34 example/example.fa
	obj-*/graphconstructor/twopaco -f 20 -k 11 example/example.fa -o example/example.dbg
	obj-*/graphdump/graphdump -f dot example/example.dbg -k 11 > example/example.dot
