.PHONY: clean
ZIPFILE=dxb.zip

all: $(ZIPFILE)
	curl -s -S --user rokudev:$(DEVPASSWORD) --digest -F "archive=@$(ZIPFILE)" \
	-F "mysubmit=Install" --output /dev/null --write-out "%{http_code}" \
	http://$(ROKU_DEV_TARGET)/plugin_install

$(ZIPFILE):  manifest certificates/*.pem source/*.brs components/*.xml components/*.brs images/*.png
	zip $@ manifest certificates/*.pem source/*.brs components/*.xml components/*.brs images/*.png

clean:
	rm $(ZIPFILE)