aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile
blob: 5061fdff9124bc2019d5a801bbabe9be98a474e6 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                    

            



                                  
                                                             
                                                                
 
                                                 





                                                                                            
WEBDIR=/home/matej/Dokumenty/website

all: install

install: local-install
	websync

local-install: bugzilla-triage.xpi
	rsync -av bugzilla-triage.xpi $(WEBDIR)/fedorahosted/
	rsync -av jsons/Config_data.json $(WEBDIR)/fedorahosted/

bugzilla-triage.xpi: package.json lib/*.js docs/*
	cfx xpi ;\
	unzip -o bugzilla-triage.xpi install.rdf ;\
	sed -i -e \
		's!<em:minVersion>3.5</em:minVersion>!<em:minVersion>3.6</em:minVersion>!' \
		install.rdf ;\
	zip -9rT bugzilla-triage.xpi install.rdf ;\