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

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

DESTDIR = debian/requirejs
COFFEESCRIPT=$(DESTDIR)/tests/node/pluginLocalId/lib/coffee-script.js

override_dh_auto_build:
	mkdir dist
	node copydist.js
	uglifyjs -o require.min.js require.js
	nodejs dist.js

%:
	dh $@

.PHONY: override_dh_auto_build
