#!/usr/bin/make -f
export DH_VERBOSE=1
include /usr/share/dpkg/default.mk
export XDG_CACHE_HOME := $(CURDIR)/.cache

%:
	dh $@

override_dh_auto_build:
	#nimble build --verbose
	#nim c -d:release --noBabelPath src/fab.nim
	PREFIX=/usr make

override_dh_auto_install:
	@echo indeed

override_dh_auto_test:
	# Broken, see https://github.com/nim-lang/nimble/issues/637 and 638
	#http_proxy='http://127.0.0.1:9/' https_proxy='http://127.0.0.1:9/' # nimble test --verbose
	true
