]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/rustdoc-themes/Makefile
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[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