#!/usr/bin/make -f
#DEB_CABAL_PACKAGE = kyccheck
#include /usr/share/cdbs/1/rules/debhelper.mk
#include /usr/share/cdbs/1/class/hlibrary.mk

%:
	dh $@

override_dh_auto_build:
	stack setup
	stack build --system-ghc --no-install-ghc

override_dh_auto_install:
	stack install --local-bin-path=debian/tmp/usr/bin --system-ghc --no-install-ghc


