install_global=false -include config.mk .PHONY: all all: @echo "This is a python project, no compilation required" .PHONY: install ifeq ($(install_global), true) install: i18n install-global else install: i18n install-local endif .PHONY: i18n-strings i18n-strings: python3 manage.py makemessages -l it python3 manage.py makemessages -l de # Also update template for new languages python3 manage.py makemessages -l en mv talerbank/app/locale/en/LC_MESSAGES/django.po talerbank/app/locale/django.pot rm -r talerbank/app/locale/en/ .PHONY: i18n i18n: python3 manage.py compilemessages .PHONY: install-global install-global: pip3 install . .PHONY: install-local install-local: pip3 install . --user # See bug #5850 for some test cases that are currently disabled. .PHONY: check check: ./run-tests.sh .PHONY: clean clean: @echo nothing to do .PHONY: dist dist: ./build-common/archive-with-submodules/git_archive_all.py taler-bank.tar.gz .PHONY: pretty pretty: black talerbank/