comparison Makefile @ 45:6ac1ea5d2d4a

Begin documentation: add the Sphinx generated configuration as-is
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 26 Apr 2026 09:41:33 +0200
parents 742496328de6
children ddefcc20367c
comparison
equal deleted inserted replaced
44:742496328de6 45:6ac1ea5d2d4a
2 # :- 2 # :-
3 # SPDX-FileCopyrightText: © 2026 Franz Glasner 3 # SPDX-FileCopyrightText: © 2026 Franz Glasner
4 # SPDX-License-Identifier: MIT 4 # SPDX-License-Identifier: MIT
5 # :- 5 # :-
6 6
7 .PHONY: help all clean distclean dist build tests flake8 install-dev 7 .PHONY: help all clean distclean dist build tests flake8 docs clean-docs clean-docs-html install-dev install-docs
8 8
9 help: 9 help:
10 @echo Targets: help, clean, distclean, dist, build 10 @echo Targets: help, clean, distclean, dist, build
11 11
12 all: tests flake8 12 all: tests flake8
28 28
29 flake8: 29 flake8:
30 -flake8 pygments_lexer_pseudocode2 30 -flake8 pygments_lexer_pseudocode2
31 -flake8 tests 31 -flake8 tests
32 32
33 docs:
34 (cd docs && make html)
35
36 clean-docs:
37 (cd docs && make clean)
38
39 clean-docs-html:
40 rm -rf docs/_build/html
41
33 install-dev: 42 install-dev:
34 python -m pip install -r requirements-dev.txt 43 python -m pip install -r requirements-dev.txt
44
45 install-docs:
46 python -m pip install -r requirements-docs.txt
47 python -m pip install --editable .