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-06-05 14:53:46 +0200
commit09ea6ee24754a76d3754b34f8d1cea9a437de9db (patch)
treef4b0ff5528abec09bca51ad24f7ed13cf152f6d6 /Makefile
parent5ec547dc04fa7f79a66a15ef61da79cafb725bb7 (diff)
downloadbugzilla-triage-09ea6ee24754a76d3754b34f8d1cea9a437de9db.tar.gz
New release. RC1
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