#!/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


%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- BUILT_PROGRAMS="src/delly src/dpe" PARALLEL=1
	chrpath -d src/dpe src/delly

override_dh_auto_install:
	# avoiding redundant compile of delly

override_dh_auto_clean:
	dh_auto_clean
	rm -rf src/dpe src/delly bin/delly
