#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

%:
	dh $@ --buildsystem R

override_dh_auto_configure:
ifeq ($(DEB_HOST_ARCH),armel)
	@echo "*************************************************"
	@echo "node.js is not available on armel, stopping here."
	@echo "*************************************************"
	@false
endif
	dh_auto_configure -O--buildsystem=R
