#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export OPENSSL_CONF=/usr/include/nodejs/openssl.cnf export NODE_TLS_REJECT_UNAUTHORIZED=0 %: dh $@ override_dh_auto_build: node-gyp configure build debian/rules debian/wscat.1 override_dh_auto_test: dh_auto_test -- MOCHA=/usr/bin/mocha override_dh_auto_clean: node-gyp clean override_dh_installexamples: dh_installexamples -X.gitignore override_dh_install: dh_install find $(CURDIR)/debian/node-ws/usr/lib -name *.node -exec chmod 644 '{}' \; debian/wscat.1: ln -nsf .. node_modules/ws help2man -N -n "Communicate over websocket" debian/wscat -o "$@" rm -f node_modules/ws get-orig-source: debian/uscan .PHONY: debian/clean