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: install-global
else
install: install-local
endif

.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/
