Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
annotate Makefile @ 15:db0171f62e5a
A Makefile to help building and testing
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 20 Apr 2026 09:06:51 +0200 |
| parents | |
| children | b92f660f2461 |
| 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 |
|
db0171f62e5a
A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
7 .PHONY: help clean distclean dist build |
|
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 |
|
db0171f62e5a
A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
12 build: |
|
db0171f62e5a
A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
13 python -m build |
|
db0171f62e5a
A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
14 |
|
db0171f62e5a
A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
15 dist: distclean 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 distclean: clean |
|
db0171f62e5a
A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
18 rm -rf dist/ *.egg-info |
|
db0171f62e5a
A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
19 |
|
db0171f62e5a
A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
20 clean: |
|
db0171f62e5a
A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
21 rm -rf __arch/ |
|
db0171f62e5a
A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
22 find . -name '*.pyc' -delete |
