mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
Update info about man page generation
This commit is contained in:
@@ -86,16 +86,15 @@ This produces the binary in _release mode_ (`--release`) at
|
|||||||
`target/release/asciinema`. You can just copy the binary to a directory in your
|
`target/release/asciinema`. You can just copy the binary to a directory in your
|
||||||
`$PATH`.
|
`$PATH`.
|
||||||
|
|
||||||
To generate man page and shell completion files, set `ASCIINEMA_GEN_DIR` to the
|
To generate man pages and shell completion files, set `ASCIINEMA_GEN_DIR` to the
|
||||||
path where these artifacts should be stored. For example:
|
path where these artifacts should be stored. For example:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
ASCIINEMA_GEN_DIR=/foo/bar cargo build --release
|
ASCIINEMA_GEN_DIR=/foo cargo build --release
|
||||||
```
|
```
|
||||||
|
|
||||||
The above command will build the binary and place the man page in
|
The above command will build the binary and place the man pages in `/foo/man/`,
|
||||||
`/foo/bar/man/asciinema.1`, and the shell completion files in the
|
and the shell completion files in the `/foo/completion/` directory.
|
||||||
`/foo/bar/completion/` directory.
|
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> Windows is currently not supported. _(See [#467](https://github.com/asciinema/asciinema/issues/467))_
|
> Windows is currently not supported. _(See [#467](https://github.com/asciinema/asciinema/issues/467))_
|
||||||
|
|||||||
Reference in New Issue
Block a user