#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
DH_VERBOSE = 1

%:
	dh $@

override_dh_auto_clean:
	make wipe
	make wipe-release
	rm -rf ./tmp.*

.PHONY: build
build:
	dh build

override_dh_auto_configure:
	debian/override_dh_auto_configure.sh

override_dh_auto_build:
	CCACHE_DIR=$$(realpath ccache) VERBOSE=1 cmake --build . --target all
	CCACHE_DIR=$$(realpath ccache) VERBOSE=1 cmake --build . --target pkg-deb

override_dh_auto_test:
	exit 0
