VERNO=$(shell rhino -e 'print(JSON.parse(readFile("package.json")).version);') WEBDIR=/home/matej/Dokumenty/website/fedorahosted/ UPSTREAM_XPI_URL=https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage-$(VERNO).xpi UPDATE_URL=https://fedorahosted.org/released/bugzilla-triage-scripts/update.rdf all: bugzilla-triage-$(VERNO).xpi update.rdf amo: bugzilla-triage.xpi install: local-install make -C $(WEBDIR) websync local-install: bugzilla-triage-$(VERNO).xpi update.rdf rsync -av bugzilla-triage-*.xpi $(WEBDIR) rsync -av jsons/Config_data.json $(WEBDIR) bugzilla-triage-$(VERNO).xpi: package.json lib/*.js jpm xpi unzip -q bugzilla-triage.xpi install.rdf sed -i -e '/em:minVersion/s!>[0-9.]*7.0