#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-cppunit=no

# force generated sources to be regenerated with local version of tolua++
override_dh_auto_build:
	chmod +x scripts/update_lua_bindings.sh
	make clean
	dh_auto_build

override_dh_install:
	dh_install -X.la -X.a -XCOPYING

override_dh_missing:
	dh_missing --fail-missing
