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

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

CONFIGURE_FLAGS = --prefix=/usr/lib/nodejs-mozilla --without-npm --without-snapshot
ifeq (armhf, $(DEB_HOST_ARCH))
CONFIGURE_FLAGS += --with-arm-float-abi=hard
endif

%:
	dh $@ --parallel

override_dh_auto_configure:
	./configure ${CONFIGURE_FLAGS}

override_dh_auto_test:
	make test-ci-js
