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



                                  

                                                  
 
                                                 
                  
                                                     
                   





                                                                                                      
                                                     
                         

    
                                
WEBDIR=/home/matej/Dokumenty/website/fedorahosted/

all: fix install

install: local-install
	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 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>!' \
	    -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)

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