#!/usr/bin/make -f

%:
	dh $@

# pkg-js-tools installs every .js file with mode 644 (see noexecFiles in
# Debian::Debhelper::Buildsystem::nodejs) and dh_fixperms then forces *.js to
# 644 as well, so the target of the /usr/bin/pm-buildhelper symlink would not
# be executable.
execute_after_dh_fixperms:
	chmod 755 debian/node-prosemirror-buildhelper/usr/share/nodejs/@prosemirror/buildhelper/bin/pm-buildhelper.js
