#! /usr/bin/make -f

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

DS_XPI_FILES = bgprocess chrome components skin LICENSE.txt chrome.manifest icon.png install.rdf 

include /usr/share/mozilla-devscripts/xpi.mk

# 'clean' is defined in the included file
build install binary binary-arch binary-indep:
	cp -f dist/installdir/LICENSE.txt debian/copyright
	dh $@

override_dh_auto_build:
	xpi-pack dist/installdir swarmplayer-deb.xpi

override_dh_auto_install: xpi-install

.PHONY: build install binary binary-arch binary-indep
.PHONY: override_dh_auto_build override_dh_auto_install
