#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This has to be exported to make some magic below work.
export DH_OPTIONS


%:
	dh $@ 

override_dh_auto_configure:
	$(MAKE) config_new WITH_PREBUILT_FW=$(CURDIR)/firmware

override_dh_auto_build:
	dh_auto_build -- fw_resource gcs

override_dh_auto_install:
	dh_auto_install -- prefix=/usr