#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk

XPI_MODULE_VERS = $(DEB_VERSION)
%:
	dh $@ --with xul-ext

override_dh_auto_build-indep:
	zip --must-match tinyjsd.xpi \
		bootstrap.js \
		content/ui/* \
		content/modules/* \
		defaults/preferences/tinyjsd.js \
		locale/*/tinyjsd.* \
		skin/* \
		webextension/manifest.json \
		chrome.manifest \
		install.rdf

override_dh_install:
	install-xpi -ptinyjsd tinyjsd.xpi
