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

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


%:
	dh $@

override_dh_auto_build:
	node-gyp configure build

override_dh_auto_clean:
	node-gyp clean

override_dh_fixperms:
	dh_fixperms
	find $(CURDIR)/debian/node-groove/usr -name *.node -exec chmod 644 '{}' \;

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	mocha --reporter spec
endif


