Mercurial > hgrepos > Python > libs > ConfigMix
changeset 788:6f0a46c4b79e
Add a Makefile with some build helpers.
BUGS: Many missing parts yet. Documentation is fully supported.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 17 May 2026 13:40:12 +0200 |
| parents | 615b7e1b80d2 |
| children | 8ab718cbec22 |
| files | CHANGES.txt Makefile |
| diffstat | 2 files changed, 42 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Sun May 17 13:11:40 2026 +0200 +++ b/CHANGES.txt Sun May 17 13:40:12 2026 +0200 @@ -25,6 +25,9 @@ Make the ``intersphinx_mapping`` configuration variable compatible with Sphinx 8. + **[misc]** + Begin a (BSD-)Makefile with some build helpers + 0.23.3 (2023-12-07) ~~~~~~~~~~~~~~~~~~~
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Sun May 17 13:40:12 2026 +0200 @@ -0,0 +1,39 @@ +# dev and build helper +# :- +# SPDX-FileCopyrightText: © 2026 Franz Glasner +# SPDX-License-Identifier: BSD-3-Clause +# :- + +.PHONY: help export clean tests doc clean-doc doc-html clean-doc-html doc-pdf clean-doc-pdf + +help: + @echo Targets: help, export, clean, tests, doc, clean-doc, doc-html, clean-doc-html, doc-pdf, clean-doc-pdf + +export: + rm -rf __arch + hg kwarchive __arch + +clean: + rm -rf __arch/ + find . -name '*.pyc' -delete + +tests: + -python -m unittest discover -s tests + +doc: doc-html doc-pdf + +clean-doc: + (cd docs && gmake clean) + +doc-html: + (cd docs && gmake html) + +clean-doc-html: + rm -rf docs/_build/html + +doc-pdf: + (cd docs && gmake latex) + (cd docs/_build/latex && gmake) + +clean-doc-pdf: + rm -rf docs/_build/latex
