summary refs log tree commit diff
path: root/src/bootstrap/mk
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-03-13 16:52:19 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-03-16 17:15:55 -0700
commit6cc06b36c4da7f21f43d663d6c8a8ee547651cde (patch)
tree64e0df1981996b1aa53f8e68774bacf2c8fca18b /src/bootstrap/mk
parente68d40edf49496e8d7a9ab03d75c9de2096446c5 (diff)
downloadrust-6cc06b36c4da7f21f43d663d6c8a8ee547651cde.tar.gz
rust-6cc06b36c4da7f21f43d663d6c8a8ee547651cde.zip
rustbuild: Implement `make dist`
This commit implements the `make dist` command in the new rustbuild build
system, porting over `dist.mk` and `prepare.mk` into Rust. There's a huge amount
of complexity between those two files, not all of which is likely justified, so
the Rust implementation is *much* smaller.

Currently the implementation still shells out to rust-installer as well as some
python scripts, but ideally we'd rewrite it all in the future to not shell out
and be in Rust proper.
Diffstat (limited to 'src/bootstrap/mk')
-rw-r--r--src/bootstrap/mk/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/mk/Makefile.in b/src/bootstrap/mk/Makefile.in
index 7d793002149..36f4269a260 100644
--- a/src/bootstrap/mk/Makefile.in
+++ b/src/bootstrap/mk/Makefile.in
@@ -38,3 +38,7 @@ standalone-docs:
 	$(Q)$(BOOTSTRAP) --step doc-standalone
 check:
 	$(Q)$(BOOTSTRAP) --step check
+dist:
+	$(Q)$(BOOTSTRAP) --step dist
+
+.PHONY: dist