aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 1bbdd03..455b6f4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,19 @@
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: install
install: local-install
- websync
+ #make -C $(WEBDIR)
+ #websync
local-install: bugzilla-triage.xpi
rsync -av bugzilla-triage.xpi $(WEBDIR)
rsync -av jsons/Config_data.json $(WEBDIR)
bugzilla-triage.xpi: package.json lib/*.js
- cfx xpi ;\
- unzip -qqo bugzilla-triage.xpi install.rdf ;\
- sed -i -e \
- '/em:creator/a\
- <em:iconURL>https://fedorahosted.org/released/bugzilla-triage-scripts/icon.png</em:iconURL>\
- <em:updateURL>https://fedorahosted.org/released/bugzilla-triage-scripts/update.rdf</em:updateURL>\
- ' \
- install.rdf ;\
- zip -9rmqT bugzilla-triage.xpi install.rdf ;\
- make -C $(WEBDIR)
+ cfx xpi --update-link=$(UPSTREAM_XPI_URL) --update-url=$(UPDATE_URL)
clean:
find . -name \*~ -print -delete