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

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

%:
	dh $@ --with nodejs

override_dh_auto_build:
	make JS_COMPILER=uglifyjs
	for f in lib/d3/*.js; do \
		uglifyjs $$f -c -m --mange-props -o `echo $$f | sed 's/js/min.js/'`; \
	done

override_dh_auto_install:
	echo 'Skipping install'
