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

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export V=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --includedir=/usr/include/$(DEB_HOST_MULTIARCH)

override_dh_strip:
	dh_strip --ddeb-migration='libchewing3-dbg (<< 0.4.0-4~)'

override_dh_install:
	dh_install --fail-missing \
		--exclude=libchewing.a \
		--exclude=libchewing.info \
		--exclude=libchewing.la \
		$(NULL)
