linkchecker/Makefile

46 lines
777 B
Makefile
Raw Permalink Normal View History

# This Makefile is only used by developers.
2009-03-04 21:22:43 +00:00
PAGER ?= less
2012-06-25 18:08:53 +00:00
all:
2011-01-09 15:51:15 +00:00
@echo "Read the file doc/install.txt to see how to build and install this package."
clean:
2022-09-05 18:30:38 +00:00
git clean -fdx
locale:
2014-09-08 16:25:03 +00:00
$(MAKE) -C po
linkcheck/_release.py:
hatchling build -t sdist --hooks-only
test: linkcheck/_release.py
tox -e py
upload:
2022-09-05 18:30:38 +00:00
twine upload dist/LinkChecker*
homepage: linkcheck/_release.py
make -C doc html
2022-09-05 18:30:38 +00:00
dist:
hatchling build
check:
2022-09-05 18:30:38 +00:00
flake8
2022-09-13 18:32:06 +00:00
yamllint .github
2022-09-05 18:30:38 +00:00
make -C doc check
make -C po check
2010-03-07 10:59:18 +00:00
2014-03-11 19:23:41 +00:00
releasecheck: check
2022-09-05 18:30:38 +00:00
@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
2011-04-26 14:14:34 +00:00
count:
2022-09-05 18:30:38 +00:00
@sloccount linkcheck tests
2011-05-22 15:39:56 +00:00
2022-09-05 18:30:38 +00:00
.PHONY: test count upload all clean
.PHONY: locale dist homepage