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

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

%:
	dh $@

override_dh_auto_build:
	npm install rollup
	mkdir build
	node_modules/.bin/rollup -f umd -n d3 -o build/d3-format.js -- index.js

override_dh_auto_test:
	tape 'test/**/*-test.js'

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build
	rm -rf node_modules

