#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_configure:
	./reconf
	dh_auto_configure

override_dh_install:
	dh_install
	find debian -name "*.la" -delete
# To let this work library package needs to be renamed to libgtextutils-0.7-0
# But renaming is a lot of effort for limited purpose
# Once there might be a stronger reason to rename the debian/*.install files can be removed
#	d-shlibmove --commit \
#	            --multiarch \
#	            --devunversioned \
#	            --exclude-la \
#	            --movedev debian/tmp/usr/gtextutils/gtextutils usr/include \
#	            --movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
#	            debian/tmp/usr/lib/*/*.so
