Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison Makefile @ 178:0eec7988fdc0
Make targets: "docs" -> "doc"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 12 May 2026 09:46:05 +0200 |
| parents | b291f1e2319d |
| children | b27557f6d393 |
comparison
equal
deleted
inserted
replaced
| 177:b291f1e2319d | 178:0eec7988fdc0 |
|---|---|
| 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 export build tests flake8 docs clean-docs docs-html clean-docs-html docs-pdf clean-docs-pdf install-dev install-docs | 7 .PHONY: help all clean distclean dist export build tests flake8 doc clean-doc doc-html clean-doc-html doc-pdf clean-doc-pdf install-dev install-doc |
| 8 | 8 |
| 9 help: | 9 help: |
| 10 @echo Targets: help, clean, distclean, export, dist, build, tests, docs clean-docs | 10 @echo Targets: help, clean, distclean, export, dist, build, tests, doc clean-doc |
| 11 | 11 |
| 12 all: tests flake8 | 12 all: tests flake8 |
| 13 | 13 |
| 14 build: | 14 build: |
| 15 python -m build | 15 python -m build |
| 32 | 32 |
| 33 flake8: | 33 flake8: |
| 34 -flake8 pygments_lexer_pseudocode2 | 34 -flake8 pygments_lexer_pseudocode2 |
| 35 -flake8 tests | 35 -flake8 tests |
| 36 | 36 |
| 37 docs: docs-html docs-pdf | 37 doc: doc-html doc-pdf |
| 38 | 38 |
| 39 clean-docs: | 39 clean-doc: |
| 40 (cd docs && make clean) | 40 (cd docs && make clean) |
| 41 | 41 |
| 42 docs-html: | 42 doc-html: |
| 43 (cd docs && make html) | 43 (cd docs && make html) |
| 44 | 44 |
| 45 clean-docs-html: | 45 clean-doc-html: |
| 46 rm -rf docs/_build/html | 46 rm -rf docs/_build/html |
| 47 | 47 |
| 48 docs-pdf: | 48 doc-pdf: |
| 49 (cd docs && make latex) | 49 (cd docs && make latex) |
| 50 (cd docs/_build/latex && gmake) | 50 (cd docs/_build/latex && gmake) |
| 51 | 51 |
| 52 clean-docs-pdf: | 52 clean-doc-pdf: |
| 53 rm -rf docs/_build/latex | 53 rm -rf docs/_build/latex |
| 54 | 54 |
| 55 install-dev: | 55 install-dev: |
| 56 python -m pip install -r requirements-dev.txt | 56 python -m pip install -r requirements-dev.txt |
| 57 | 57 |
| 58 install-docs: | 58 install-doc: |
| 59 python -m pip install -r requirements-docs.txt | 59 python -m pip install -r requirements-docs.txt |
| 60 python -m pip install --editable . | 60 python -m pip install --editable . |
