comparison Makefile @ 167:ddefcc20367c

More static and/or dynamic metadata into README and project's init: release date, revision. While there bump the version to 3.0.0.dev1.
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 10 May 2026 15:27:18 +0200
parents 6ac1ea5d2d4a
children 4b87a9ecffdd
comparison
equal deleted inserted replaced
166:6a7dace0141e 167:ddefcc20367c
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 docs clean-docs clean-docs-html install-dev install-docs 7 .PHONY: help all clean distclean dist export 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, export, dist, build, tests docs clean-docs
11 11
12 all: tests flake8 12 all: tests flake8
13 13
14 build: 14 build:
15 python -m build 15 python -m build
16 16
17 dist: distclean build 17 dist: distclean build
18 18
19 distclean: clean 19 distclean: clean
20 rm -rf dist/ *.egg-info 20 rm -rf dist/ *.egg-info
21
22 export:
23 rm -rf __arch
24 hg kwarchive __arch
21 25
22 clean: 26 clean:
23 rm -rf __arch/ 27 rm -rf __arch/
24 find . -name '*.pyc' -delete 28 find . -name '*.pyc' -delete
25 29