about summary refs log tree commit diff
path: root/src/test/run-make/rustdoc-extern-method/Makefile
diff options
context:
space:
mode:
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
+