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

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

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --with nodejs

override_dh_auto_build:
	help2man -v $(DEB_VERSION_UPSTREAM) -N -n "Switch between different .npmrc files" -o npmrc.1 ./npmrc.js
	ls -R

override_dh_fixperms:
	dh_fixperms
	chmod a+x debian/node-npmrc/usr/share/nodejs/npmrc/npmrc.js
