about summary refs log tree commit diff
path: root/src/test/run-make/rustdoc-extern-method/Makefile
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-02-08 06:15:52 +0000
committerbors <bors@rust-lang.org>2015-02-08 06:15:52 +0000
commitcdaf3a4393927ddfba071cfbfe86d95b68e7ae3e (patch)
tree9828694d7a89d98659c4f8b7c79d466dabb0b435 /src/test/run-make/rustdoc-extern-method/Makefile
parentf16de18db448ca5de45bff90579990259518e1fc (diff)
parente43c478035d82556168432d9be1027eca75af495 (diff)
Auto merge of #21999 - tomjakubowski:rustdoc-fixes, r=alexcrichton
r? @alexcrichton 
Diffstat (limited to 'src/test/run-make/rustdoc-extern-method/Makefile')
-rw-r--r--src/test/run-make/rustdoc-extern-method/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/run-make/rustdoc-extern-method/Makefile b/src/test/run-make/rustdoc-extern-method/Makefile
new file mode 100644
index 00000000000..c87684f59ea
--- /dev/null
+++ b/src/test/run-make/rustdoc-extern-method/Makefile
@@ -0,0 +1,8 @@
+-include ../tools.mk
+
+all: foo.rs bar.rs
+	$(HOST_RPATH_ENV) $(RUSTC) foo.rs
+	$(HOST_RPATH_ENV) $(RUSTDOC) -w html -o $(TMPDIR)/doc foo.rs
+	$(HOST_RPATH_ENV) $(RUSTDOC) -L $(TMPDIR) -w html -o $(TMPDIR)/doc bar.rs
+	$(HTMLDOCCK) $(TMPDIR)/doc bar.rs
+