]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/rustdoc-themes/Makefile
Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup
[rust.git] / src / test / run-make-fulldeps / rustdoc-themes / Makefile
1 -include ../tools.mk
2
3 # Test that rustdoc will properly load in a theme file and display it in the theme selector.
4
5 OUTPUT_DIR := "$(TMPDIR)/rustdoc-themes"
6
7 all:
8         cp $(S)/src/librustdoc/html/static/css/themes/light.css $(TMPDIR)/test.css
9         $(RUSTDOC) -o $(OUTPUT_DIR) foo.rs --theme $(TMPDIR)/test.css
10         $(HTMLDOCCK) $(OUTPUT_DIR) foo.rs