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

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

%:
	dh $@

override_dh_auto_clean:
	npm run clean
	rm -f node_modules/.package-lock.json \
	  node_modules/html5-qrcode minified/*.min.js
	find src -name "*.d.ts" | xargs rm -f
	dh_auto_clean

override_dh_auto_build:
	npm install --omit=dev
	npm run-script build

override_dh_installdocs:
	dh_installdocs
	dh_nodejs_autodocs

override_dh_auto_test:
	@echo tests are disabled
