aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-07 01:58:49 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-05-07 01:58:49 +0200
commit5756422c70e97861e8656a30e00e1042b5910518 (patch)
treebed460557c272e78c8544dc5905a441c34776c72 /Makefile
parentec1d6396ad5457a06af6ab7a5293b6922a5708c6 (diff)
downloadbugzilla-triage-5756422c70e97861e8656a30e00e1042b5910518.tar.gz
New release. RC10.104
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