#! /usr/bin/make -f

%:
	dh $@

# override disabled by default rpath - we need to find libvcmi.so with it:
override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_SKIP_RPATH=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBIN_DIR=games -DENABLE_TEST=0
.PHONY: override_dh_strip
override_dh_strip:
	dh_strip --dbg-package=vcmi-dbg
override_dh_auto_install:
	dh_auto_install --destdir=debian/vcmi
override_dh_installdocs:
	dh_installdocs --link-doc=vcmi

