annotate Makefile @ 21:5705ac8a4fd5

Arrow "=>" -> "⇒"
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 20 Apr 2026 15:59:32 +0200
parents b92f660f2461
children 742496328de6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 # dev and build helper
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2 # :-
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
3 # SPDX-FileCopyrightText: © 2026 Franz Glasner
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4 # SPDX-License-Identifier: MIT
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5 # :-
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
6
16
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
7 .PHONY: help all clean distclean dist build tests flake8
15
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
8
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
9 help:
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
10 @echo Targets: help, clean, distclean, dist, build
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
11
16
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
12 all: tests flake8
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
13
15
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
14 build:
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
15 python -m build
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
16
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
17 dist: distclean build
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
18
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
19 distclean: clean
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
20 rm -rf dist/ *.egg-info
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
21
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
22 clean:
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
23 rm -rf __arch/
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
24 find . -name '*.pyc' -delete
16
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
25
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
26 tests:
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
27 -python -m unittest discover -s tests
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
28
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
29 flake8:
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
30 -flake8 pygments_lexer_pseudocode2
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
31 -flake8 tests
PKKK[̌\~% PyMuPDF-aa33339d6b8a/.hg_archival.txtUT#hPKKK[?ig-؆ PyMuPDF-aa33339d6b8a/COPYINGUT#hPKKK[]Y  /PyMuPDF-aa33339d6b8a/PKG-INFOUT#hPKKK[@JEs M5PyMuPDF-aa33339d6b8a/README.mdUT#hPKKK[ 9PyMuPDF-aa33339d6b8a/READMEb.mdUT#hPKKK[ws :PyMuPDF-aa33339d6b8a/READMEd.mdUT#hPKKK[q} ;PyMuPDF-aa33339d6b8a/changes.txtUT#hPKKK[ƺ_2 / PyMuPDF-aa33339d6b8a/mupdf-source/.editorconfigUT#hPKKK[=p+0 ' PyMuPDF-aa33339d6b8a/mupdf-source/.gitattributesUT#hPKKK[Y'Y* > PyMuPDF-aa33339d6b8a/mupdf-source/.github/workflows/codeql.ymlUT#hPKKK[җC PyMuPDF-aa33339d6b8a/mupdf-source/.github/workflows/test_csharp.ymlUT#hPKKK[UFG PyMuPDF-aa33339d6b8a/mupdf-source/.github/workflows/test_python_pip.ymlUT#hPKKK[r R, PyMuPDF-aa33339d6b8a/mupdf-source/.gitignoreUT#hPKKK[d4 - PyMuPDF-aa33339d6b8a/mupdf-source/.gitmodulesUT#hPKKK[oD.3 PyMuPDF-aa33339d6b8a/mupdf-source/.readthedocs.yamlUT#hPKKK[1,W6) PyMuPDF-aa33339d6b8a/mupdf-source/CHANGESUT#hPKKK[N4. VVPyMuPDF-aa33339d6b8a/mupdf-source/CONTRIBUTORSUT#hPKKK[?ig-؆) WPyMuPDF-aa33339d6b8a/mupdf-source/COPYINGUT#hPKKK[v tC>Q* >PyMuPDF-aa33339d6b8a/mupdf-source/MakefileUT#hPKKK[Ed :+ PyMuPDF-aa33339d6b8a/mupdf-source/MakelistsUT#hPKKK[ȘA *+ ,PyMuPDF-aa33339d6b8a/mupdf-source/MakerulesUT#hPKKK[7 .+ CPyMuPDF-aa33339d6b8a/mupdf-source/MakethirdUT#hPKKK[*z( ePyMuPDF-aa33339d6b8a/mupdf-source/READMEUT#hPKKK[`ul- PyMuPDF-aa33339d6b8a/mupdf-source/docs/READMEUT#hPKKK[aSU9 PyMuPDF-aa33339d6b8a/mupdf-source/docs/_static/custom.cssUT#hPKKK[A'D PyMuPDF-aa33339d6b8a/mupdf-source/docs/_static/discord-mark-blue.svgUT#hPKKK[\).<: PyMuPDF-aa33339d6b8a/mupdf-source/docs/_static/favicon.icoUT#hPK