rust/tests/run-make-fulldeps/rustdoc-themes/Makefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
336 B
Makefile
Raw Normal View History

include ../tools.mk
2019-05-24 14:04:45 -05:00
# Test that rustdoc will properly load in a theme file and display it in the theme selector.
OUTPUT_DIR := "$(TMPDIR)/rustdoc-themes"
all:
2021-07-07 07:27:54 -05:00
cp $(S)/src/librustdoc/html/static/css/themes/light.css $(TMPDIR)/test.css
$(RUSTDOC) -o $(OUTPUT_DIR) foo.rs --theme $(TMPDIR)/test.css
2019-11-18 11:53:45 -06:00
$(HTMLDOCCK) $(OUTPUT_DIR) foo.rs