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

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export NODE_PATH=debian/node_modules

%:
	dh $@

override_dh_auto_build:
	./build js

#override_dh_auto_test:

override_dh_install:
	dh_install
	rm -rf debian/node-js-beautify/usr/lib/nodejs/js-beautify/js/test

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/node-js-beautify/usr/lib/nodejs/js-beautify/js/bin/*

override_dh_auto_clean:
	rm -rf dist js/lib/beautify*
	rm -rf web python/jsbeautifier/unpackers

