Skip to content

Commit

Permalink
Auto merge of #8682 - dtolnay:build-man, r=ehuss
Browse files Browse the repository at this point in the history
Allow running build-man.sh from any directory

Before:

```console
$ src/doc/build-man.sh
error: manifest path `../../crates/mdman/Cargo.toml` does not exist
```

After: works.
  • Loading branch information
bors committed Sep 6, 2020
2 parents cb7ba3d + 9296544 commit 99134ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doc/build-man.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

set -e

cd "$(dirname "${BASH_SOURCE[0]}")"

OPTIONS="--url https://doc.rust-lang.org/cargo/commands/ \
--man rustc:1=https://doc.rust-lang.org/rustc/index.html \
--man rustdoc:1=https://doc.rust-lang.org/rustdoc/index.html"
Expand Down

0 comments on commit 99134ae

Please sign in to comment.