gmake_python_helpers

Helpers for using Python venv/pip-tools/black/pylama/... with GNU make
git clone https://ccx.te2000.cz/git/gmake_python_helpers
Log | Files | Refs | README

commit d77be3b397a776ff28854e5672755f353a5e52b7
parent adbcdcb06aa850df64536777b030a641c672aef0
Author: Jan Pobrislo <ccx@te2000.cz>
Date:   Wed, 25 Jun 2025 02:12:15 +0000

Extend the example in README

Diffstat:
MREADME | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/README b/README @@ -4,6 +4,13 @@ Add it as git submodule as follows: % git submodule add https://ccx.te2000.cz/git/gmake_python_helpers ./gmake_python_helpers +You will also likely want to add following patterns to your .gitignore: + + virtualenvs + wheels + python_vars_*.mk + venv-* + -------------------------- Example makefile contents: -------------------------- @@ -46,3 +53,10 @@ test: $(venv_dev)/.done run: $(venv_release)/.done '$(venv_release)/bin/python' -m my_module.run + +# -- sphinx-doc example + +doc/make.%: $(venv_dev)/.done + $(MAKE) -C doc '$*' SPHINXBUILD=../$(venv_dev)/bin/sphinx-build + +doc: doc/make.html doc/make.man