Makefile: correct a problem with the linkcheck target if pdfs are not built.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2022-06-22 16:20:33 +01:00
parent 43c9df8ba6
commit 30ee914674
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ README.rst: .zipfilelist.current makeindex.sh README.template $(sort $(wildcard
./makeindex.sh | cat README.template - >README.rst
.PHONY: linkcheck
linkcheck: protocol/protocol.pdf protocol/canopy.pdf protocol/heartwood.pdf protocol/blossom.pdf protocol/sapling.pdf
linkcheck: all-zips
$(MAKE) -C protocol all-specs
./links_and_dests.py --check $(filter-out $(wildcard draft-*.html),$(wildcard *.html)) protocol/protocol.pdf protocol/canopy.pdf protocol/heartwood.pdf protocol/blossom.pdf protocol/sapling.pdf
.PHONY: clean