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

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_build:
	help2man -N -n 'Tool to launch modern Javascript scripts' --version-string=`pkgjs-utils pjson . version` ./zx.mjs >zx.1

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/zx/usr/share/nodejs/ps-tree/bin/ps-tree.js \
		debian/zx/usr/share/nodejs/zx/zx.mjs
