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

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

%:
	dh $@

override_dh_auto_build:
	mkdir -p dist
	webpack --mode development
	perl -i -pe 's/\bself\b/window.self/g' `find dist -type f`

override_dh_auto_clean:
	rm -rf dist node_modules/.cache

override_dh_installdocs:
	dh_installdocs --link-doc=libjs-source-map
