diff options
| author | Samuel John | 2013-08-20 15:37:31 +0200 |
|---|---|---|
| committer | Samuel John | 2013-08-20 15:37:31 +0200 |
| commit | 11b49ca28f5b98e069d4803bb351112b0da38fce (patch) | |
| tree | cbf417f3eebb3d3807d279f5d856eb1baf528b16 | |
| parent | 78d436c68e4257d0750e25dc4675be3b00fd12f6 (diff) | |
| download | brew-11b49ca28f5b98e069d4803bb351112b0da38fce.tar.bz2 | |
man brew: Mention the example-formula.rb
| -rw-r--r-- | Library/Contributions/manpages/brew.1.md | 4 | ||||
| -rw-r--r-- | share/man/man1/brew.1 | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index d3af5fb67..3692bb206 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -67,7 +67,9 @@ Note that these flags should only appear after a command. Generate a formula for the downloadable file at <URL> and open it in the editor. Homebrew will attempt to automatically derive the formula name and version, but if it fails, you'll have to make your own template. The wget - formula serves as a simple example. + formula serves as a simple example. For a complete cheat-sheet, have a look at + + `$(brew --prefix)/Library/Contributions/example-formula.rb` If `--autotools` is passed, create a basic template for an Autotools-style build. If `--cmake` is passed, create a basic template for a CMake-style build. diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 6d5f13e56..340e1ab41 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -72,7 +72,10 @@ If \fB\-s\fR is passed, scrubs the cache, removing downloads for even the latest . .TP \fBcreate <URL> [\-\-autotools|\-\-cmake] [\-\-no\-fetch] [\-\-set\-name <name>] [\-\-set\-version <version>]\fR -Generate a formula for the downloadable file at \fIURL\fR and open it in the editor\. Homebrew will attempt to automatically derive the formula name and version, but if it fails, you\'ll have to make your own template\. The wget formula serves as a simple example\. +Generate a formula for the downloadable file at \fIURL\fR and open it in the editor\. Homebrew will attempt to automatically derive the formula name and version, but if it fails, you\'ll have to make your own template\. The wget formula serves as a simple example\. For a complete cheat\-sheet, have a look at +. +.IP +\fB$(brew \-\-prefix)/Library/Contributions/example\-formula\.rb\fR . .IP If \fB\-\-autotools\fR is passed, create a basic template for an Autotools\-style build\. If \fB\-\-cmake\fR is passed, create a basic template for a CMake\-style build\. |
