]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/rustdoc-themes/Makefile
Rollup merge of #100307 - nnethercote:fix-96847, r=cjgillot
[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