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

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

%:
	dh $@ --with nodejs

override_dh_install:
	dh_install
	uglifyjs debian/libjs-should/usr/share/javascript/should.js \
		--compress --mangle --comments='/Copyr/i' --source-map \
		-o debian/libjs-should/usr/share/javascript/should.min.js

override_dh_fixperms:
	dh_fixperms
	find debian -name package.json -exec chmod 644 {} \;
