about summary refs log tree commit diff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-09-08 12:37:39 +0200
committerest31 <MTest31@outlook.com>2017-09-08 12:51:19 +0200
commitd587558269855870229ae995cc88bd5a0ddcb87b (patch)
treea1996295fc0cd15dde336455ac0186d297dfb511
parentd7d75eff30ff03f607ff0656a50f4be768cfdbc9 (diff)
downloadrust-d587558269855870229ae995cc88bd5a0ddcb87b.tar.gz
rust-d587558269855870229ae995cc88bd5a0ddcb87b.zip
Move the man directory to a subdirectory
There is no reason it should be in the top directory.
-rw-r--r--src/bootstrap/dist.rs3
-rw-r--r--src/doc/man/rustc.1 (renamed from man/rustc.1)0
-rw-r--r--src/doc/man/rustdoc.1 (renamed from man/rustdoc.1)0
3 files changed, 1 insertions, 2 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index 2ca65396b35..655a244da18 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -432,7 +432,7 @@ impl Step for Rustc {
 
             // Man pages
             t!(fs::create_dir_all(image.join("share/man/man1")));
-            cp_r(&build.src.join("man"), &image.join("share/man/man1"));
+            cp_r(&build.src.join("src/doc/man"), &image.join("share/man/man1"));
 
             // Debugger scripts
             builder.ensure(DebuggerScripts {
@@ -834,7 +834,6 @@ impl Step for PlainSourceTarball {
             "config.toml.example",
         ];
         let src_dirs = [
-            "man",
             "src",
         ];
 
diff --git a/man/rustc.1 b/src/doc/man/rustc.1
index 6c80f11fa72..6c80f11fa72 100644
--- a/man/rustc.1
+++ b/src/doc/man/rustc.1
diff --git a/man/rustdoc.1 b/src/doc/man/rustdoc.1
index d34ab613549..d34ab613549 100644
--- a/man/rustdoc.1
+++ b/src/doc/man/rustdoc.1