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

                                    
                
 



                                  
                                                             
                                                                
 
                                                 
                  
                                                     


                                                                                            


                                                     
                                
WEBDIR=/home/matej/Dokumenty/website

all: fix 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 -qqo bugzilla-triage.xpi install.rdf ;\
	sed -i -e \
		's!<em:minVersion>3.5</em:minVersion>!<em:minVersion>3.6</em:minVersion>!' \
		install.rdf ;\
	zip -9rmqT bugzilla-triage.xpi install.rdf ;\

fix:
	! grep -n FIXME lib/*.js