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

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

%:
	dh $@ --with nodejs

override_dh_auto_build:
	node ./lib/cli.js -c package.json5

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/node-json5/usr/share/nodejs/json5/lib/cli.js

override_dh_auto_clean:
	# Don't use debian/clean here: this can be a dir (upstream tar)
	# or a symlink (2nd build)
	rm -rf test/parse-cases
	dh_auto_clean
