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

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

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	rm -rf dist node_modules

override_dh_auto_build:
	mkdir -p node_modules
	ln -s /usr/share/nodejs/rollup node_modules/rollup
	npm run rollup

override_dh_installdocs:
	dh_installdocs
	dh_nodejs_autodocs

