2018-04-11 15:35:29 +02:00
|
|
|
all: opensnitch/resources_rc.py
|
2018-04-06 13:55:03 +02:00
|
|
|
|
2018-04-10 19:16:29 +02:00
|
|
|
install:
|
2019-10-30 20:11:26 -05:00
|
|
|
@pip3 install --upgrade .
|
2018-04-10 19:16:29 +02:00
|
|
|
|
2021-01-03 00:32:12 +01:00
|
|
|
opensnitch/resources_rc.py: translations deps
|
2018-04-11 15:35:29 +02:00
|
|
|
@pyrcc5 -o opensnitch/resources_rc.py opensnitch/res/resources.qrc
|
2018-04-06 13:55:03 +02:00
|
|
|
|
2021-01-03 00:32:12 +01:00
|
|
|
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
|
|
|
|
|
2018-04-07 15:52:58 +02:00
|
|
|
deps:
|
2020-12-11 23:42:47 +01:00
|
|
|
@pip3 install -r requirements.txt
|
2018-04-07 15:52:58 +02:00
|
|
|
|
2018-04-06 13:55:03 +02:00
|
|
|
clean:
|
2018-04-06 18:00:10 +02:00
|
|
|
@rm -rf *.pyc
|
2018-04-11 15:35:29 +02:00
|
|
|
@rm -rf opensnitch/resources_rc.py
|