diff --git a/man/.gitattributes b/man/.gitattributes new file mode 100644 index 0000000000000..8e50cd1cedb6f --- /dev/null +++ b/man/.gitattributes @@ -0,0 +1 @@ +*.1 export-subst diff --git a/man/rustc.1 b/man/rustc.1 index a034e471b6efc..870dd3fa6e2b0 100644 --- a/man/rustc.1 +++ b/man/rustc.1 @@ -1,4 +1,4 @@ -.TH RUSTC "1" "August 2015" "rustc 1.2.0" "User Commands" +.TH RUSTC "1" "$Format:%ci$" "At rev. $Format:%h$" "User Commands" .SH NAME rustc \- The Rust compiler .SH SYNOPSIS diff --git a/man/rustdoc.1 b/man/rustdoc.1 index ae14c9d78287f..f0d122ff53a65 100644 --- a/man/rustdoc.1 +++ b/man/rustdoc.1 @@ -1,4 +1,4 @@ -.TH RUSTDOC "1" "August 2015" "rustdoc 1.2.0" "User Commands" +.TH RUSTDOC "1" "$Format:%ci$" "At rev. $Format:%h$" "User Commands" .SH NAME rustdoc \- generate documentation from Rust source code .SH SYNOPSIS