Debian Codegraph @

Makefile

raw
1 # This Makefile is only used by developers.
2 PAGER ?= less
3
4
5 all:
6 @echo "Read the file doc/install.txt to see how to build and install this package."
7
8 clean:
9 git clean -fdx
10
11 locale:
12 $(MAKE) -C po
13
14 linkcheck/_release.py:
15 hatchling build -t sdist --hooks-only
16
17 test: linkcheck/_release.py
18 tox -e py
19
20 upload:
21 twine upload dist/LinkChecker*
22
23 homepage: linkcheck/_release.py
24 make -C doc html
25
26 dist:
27 hatchling build
28
29 check:
30 flake8
31 yamllint .github
32 make -C doc check
33 make -C po check
34
35 releasecheck: check
36 @if egrep -i "xx\.|xxxx|\.xx|^[[:digit:]]+\.x" doc/changelog.txt > /dev/null; then \
37 echo "Could not release: edit doc/changelog.txt release date"; false; \
38 fi
39
40 count:
41 @sloccount linkcheck tests
42
43
44 .PHONY: test count upload all clean
45 .PHONY: locale dist homepage