mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Docs: add caveat info to cookbook
This commit is contained in:
parent
ab6ec6eb0a
commit
0980c4150f
@ -283,6 +283,18 @@ Homebrew expects to find manual pages in `#{prefix}/share/man/...`, and not in `
|
|||||||
|
|
||||||
Some software installs to `man` instead of `share/man`, so check the output and add a `"--mandir=#{man}"` to the `./configure` line if needed.
|
Some software installs to `man` instead of `share/man`, so check the output and add a `"--mandir=#{man}"` to the `./configure` line if needed.
|
||||||
|
|
||||||
|
### Special instructions
|
||||||
|
|
||||||
|
In case there are specific issues with the homebrew install a `caveats` block can be added to the formula to inform users. This can indicate non-standard install paths, an example from the ruby formula:
|
||||||
|
|
||||||
|
```
|
||||||
|
==> Caveats
|
||||||
|
By default, binaries installed by gem will be placed into:
|
||||||
|
/usr/local/lib/ruby/gems/bin
|
||||||
|
|
||||||
|
You may want to add this to your PATH.
|
||||||
|
```
|
||||||
|
|
||||||
### A quick word on naming
|
### A quick word on naming
|
||||||
|
|
||||||
Name the formula like the project markets the product. So it’s `pkg-config`, not `pkgconfig`; `sdl_mixer`, not `sdl-mixer` or `sdlmixer`.
|
Name the formula like the project markets the product. So it’s `pkg-config`, not `pkgconfig`; `sdl_mixer`, not `sdl-mixer` or `sdlmixer`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user