2000-09-10 14:53:52 +00:00
|
|
|
# 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
|
|
|
|
2006-05-18 16:46:58 +00:00
|
|
|
|
2000-03-19 14:24:33 +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."
|
2000-02-26 10:24:46 +00:00
|
|
|
|
|
|
|
|
clean:
|
2022-09-05 18:30:38 +00:00
|
|
|
git clean -fdx
|
2000-07-14 14:26:41 +00:00
|
|
|
|
2004-09-01 09:39:39 +00:00
|
|
|
locale:
|
2014-09-08 16:25:03 +00:00
|
|
|
$(MAKE) -C po
|
2001-03-04 19:42:35 +00:00
|
|
|
|
2022-09-13 18:32:06 +00:00
|
|
|
linkcheck/_release.py:
|
|
|
|
|
hatchling build -t sdist --hooks-only
|
|
|
|
|
|
|
|
|
|
test: linkcheck/_release.py
|
|
|
|
|
tox -e py
|
2002-02-08 18:49:46 +00:00
|
|
|
|
2016-01-17 08:05:21 +00:00
|
|
|
upload:
|
2022-09-05 18:30:38 +00:00
|
|
|
twine upload dist/LinkChecker*
|
2012-09-03 17:50:25 +00:00
|
|
|
|
2022-09-13 18:32:06 +00:00
|
|
|
homepage: linkcheck/_release.py
|
|
|
|
|
make -C doc html
|
2012-09-03 17:50:25 +00:00
|
|
|
|
2022-09-05 18:30:38 +00:00
|
|
|
dist:
|
|
|
|
|
hatchling build
|
2014-04-23 20:18:11 +00:00
|
|
|
|
2007-11-14 17:56:56 +00:00
|
|
|
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 \
|
2010-03-06 20:52:25 +00:00
|
|
|
echo "Could not release: edit doc/changelog.txt release date"; false; \
|
2004-09-01 09:39:39 +00:00
|
|
|
fi
|
2009-02-19 13:35:09 +00:00
|
|
|
|
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
|
|
|
|
2012-09-03 17:53:53 +00:00
|
|
|
|
2022-09-05 18:30:38 +00:00
|
|
|
.PHONY: test count upload all clean
|
|
|
|
|
.PHONY: locale dist homepage
|