summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/rustdoc-themes/Makefile
blob: f3d07b25c47f84f309dc13d6ff724585f00d9ebc (plain)
1
2
3
4
5
6
7
8
9
10
-include ../tools.mk

# Test that rustdoc will properly load in a theme file and display it in the theme selector.

OUTPUT_DIR := "$(TMPDIR)/rustdoc-themes"

all:
	cp $(S)/src/librustdoc/html/static/css/themes/light.css $(TMPDIR)/test.css
	$(RUSTDOC) -o $(OUTPUT_DIR) foo.rs --theme $(TMPDIR)/test.css
	$(HTMLDOCCK) $(OUTPUT_DIR) foo.rs