linkchecker/Makefile
Chris Mayo 40e0628716 Fix make homepage
make -C doc code
make[1]: Entering directory '/var/tmp/linkchecker/doc'
make[1]: *** No rule to make target 'code'.  Stop.

code target was removed in:
c7989eb05 ("Turn all warnings into errors when building website", 2022-11-02)
2023-09-25 19:22:19 +01:00

45 lines
777 B
Makefile

# 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