opensnitch/ui/Makefile

22 lines
521 B
Makefile
Raw Normal View History

2018-04-11 15:35:29 +02:00
all: opensnitch/resources_rc.py
install:
@pip3 install --upgrade .
opensnitch/resources_rc.py: translations deps
2018-04-11 15:35:29 +02:00
@pyrcc5 -o opensnitch/resources_rc.py opensnitch/res/resources.qrc
translations:
@cd i18n ; make
for lang in $$(ls i18n/locales/); do \
if [ ! -d opensnitch/i18n/$$lang ]; then mkdir -p opensnitch/i18n/$$lang ; fi ; \
cp i18n/locales/$$lang/opensnitch-$$lang.qm opensnitch/i18n/$$lang/ ; \
done
deps:
@pip3 install -r requirements.txt
clean:
@rm -rf *.pyc
2018-04-11 15:35:29 +02:00
@rm -rf opensnitch/resources_rc.py