]> git.proxmox.com Git - rustc.git/blob - src/test/run-make-fulldeps/rustdoc-themes/Makefile
New upstream version 1.41.1+dfsg1
[rustc.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/themes/light.css $(TMPDIR)/test.css
9 $(RUSTDOC) -o $(OUTPUT_DIR) foo.rs --theme $(TMPDIR)/test.css
10 $(HTMLDOCCK) $(OUTPUT_DIR) foo.rs