add simple Makefile

This commit is contained in:
Robert Sachunsky 2019-11-29 18:30:48 +01:00
parent 2a2c97feff
commit bb925a6a5b
2 changed files with 22 additions and 0 deletions

1
.gitignore vendored
View file

@ -104,5 +104,6 @@ venv.bak/
.mypy_cache/
# vim tmp
*~
*.swp
*.swo

21
Makefile Normal file
View file

@ -0,0 +1,21 @@
SHELL = /bin/bash
PYTHON = python3
PIP = pip3
define HELP
cat <<EOF
ocrd_repair_inconsistencies
Targets:
deps Install Python dependencies via pip
install Install Python package
EOF
endef
export HELP
help: ; @eval "$$HELP"
deps:
$(PIP) install -r requirements.txt
install:
$(PIP) install .