aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-06-24 12:57:09 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-06-24 12:57:09 +0200
commit47b3d9ba7039221becf2c5abc47d3f1f8ad26952 (patch)
tree089f51f01e1e590668156580ed46fb692fc14696 /Makefile
parent14c737fe6fab5198fa6998685ba81c0754b2355c (diff)
downloadbugzilla-triage-47b3d9ba7039221becf2c5abc47d3f1f8ad26952.tar.gz
Make URL for JSON file configurable (fixes #9)0.4
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e2ffc0d..e273aca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,14 @@
+WEBDIR=/home/matej/Dokumenty/website
+
all: install
-install:
- rsync -avz jsons/RH_Data-packages.json \
- /home/matej/Dokumenty/website/ceplovi.cz/matej/progs/data/
+install: local-install
+ websync
+
+local-install: bugzilla-triage.xpi
+ rsync -av jsons/RH_Data-packages.json \
+ $(WEBDIR)/ceplovi.cz/matej/progs/data/
+ rsync -av bugzilla-triage.xpi $(WEBDIR)/fedorapeople/scripts/
+
+bugzilla-triage.xpi:
+ cfx xpi