de6f520192
The script is intended as a tool for doing every sort of verifications amenable to Rustdoc's HTML output. For example, link checkers would go to this script. It already parses HTML into a document tree form (with a slight caveat), so future tests can make use of it. As an example, relevant `rustdoc-*` run-make tests have been updated to use `htmldocck.py` and got their `verify.sh` removed. In the future they may go to a dedicated directory with htmldocck running by default. The detailed explanation of test scripts is provided as a docstring of htmldocck. cc #19723
16 lines
207 B
Makefile
16 lines
207 B
Makefile
-include ../tools.mk
|
|
|
|
# FIXME ignore windows
|
|
ifndef IS_WINDOWS
|
|
|
|
source=index.rs
|
|
|
|
all:
|
|
$(HOST_RPATH_ENV) $(RUSTDOC) -w html -o $(TMPDIR)/doc $(source)
|
|
$(HTMLDOCCK) $(TMPDIR)/doc $(source)
|
|
|
|
else
|
|
all:
|
|
|
|
endif
|