From 11b49ca28f5b98e069d4803bb351112b0da38fce Mon Sep 17 00:00:00 2001 From: Samuel John Date: Tue, 20 Aug 2013 15:37:31 +0200 Subject: man brew: Mention the example-formula.rb --- Library/Contributions/manpages/brew.1.md | 4 +++- 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 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 [\-\-autotools|\-\-cmake] [\-\-no\-fetch] [\-\-set\-name ] [\-\-set\-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\. -- cgit v1.2.3