#!/usr/bin/make -f

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_configure:
	./configure BINDIR=/usr/bin/ SHAREDIR=/usr/share/scid

override_dh_strip:
	dh_strip --no-automatic-dbgsym
