[go: up one dir, main page]

File: Makefile

package info (click to toggle)
linkchecker 10.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,116 kB
  • sloc: python: 13,131; makefile: 134; sh: 71; xml: 36; sql: 20; javascript: 19; php: 2
file content (45 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This Makefile is only used by developers.
PAGER ?= less


all:
	@echo "Read the file doc/install.txt to see how to build and install this package."

clean:
	git clean -fdx

locale:
	$(MAKE) -C po

linkcheck/_release.py:
	hatchling build -t sdist --hooks-only

test: linkcheck/_release.py
	tox -e py

upload:
	twine upload dist/LinkChecker*

homepage: linkcheck/_release.py
	make -C doc html

dist:
	hatchling build

check:
	flake8
	yamllint .github
	make -C doc check
	make -C po check

releasecheck: check
	@if egrep -i "xx\.|xxxx|\.xx|^[[:digit:]]+\.x" doc/changelog.txt > /dev/null; then \
	  echo "Could not release: edit doc/changelog.txt release date"; false; \
	fi

count:
	@sloccount linkcheck tests


.PHONY: test count upload all clean
.PHONY: locale dist homepage