#!/usr/bin/make -f

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

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

%:
	dh $@ --parallel

override_dh_auto_configure: ;

override_dh_install:
	mkdir -p `pwd`/debian/tmp/
	cp -r `pwd`/src/* `pwd`/debian/tmp/
	#mv debian/tmp/applypatch debian/tmp/bk_applypatch
	mv debian/tmp/import debian/tmp/bk_import
	dh_install
