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!3.5!3.6!' \
install.rdf ;\
zip -9rmqT bugzilla-triage.xpi install.rdf ;\
fix:
! grep -n FIXME lib/*.js