librelist archives

« back to archive

Fixing the man pages in my formula...

Fixing the man pages in my formula...

From:
Greg Turnquist
Date:
2011-10-19 @ 04:22
I am working on the formula for sslscan. It's almost done except for the man
page. The tarball is very simple. There is a single .c file and a single .1
man page, all in the base folder. Unfortunately, putting:

man.install ["sslscan.1"]

...merely puts it into share/man instead of share/man/man1 where it belongs.
I don't know how to move it, and the Formula Cookbook doesn't say much about
man pages. I don't grok what man.mkpath is supposed to do or if it helps
here. Any homebrew or ruby APIs that I should use?

-- 
Greg Turnquist (Greg.L.Turnquist@gmail.com)

Re: [homebrew] Fixing the man pages in my formula...

From:
Jack Nagel
Date:
2011-10-19 @ 04:35
On Tue, Oct 18, 2011 at 11:22 PM, Greg Turnquist
<greg.l.turnquist@gmail.com> wrote:
> I am working on the formula for sslscan. It's almost done except for the man
> page. The tarball is very simple. There is a single .c file and a single .1
> man page, all in the base folder. Unfortunately, putting:
> man.install ["sslscan.1"]
> ...merely puts it into share/man instead of share/man/man1 where it belongs.
> I don't know how to move it, and the Formula Cookbook doesn't say much about
> man pages. I don't grok what man.mkpath is supposed to do or if it helps
> here. Any homebrew or ruby APIs that I should use?
> --
> Greg Turnquist (Greg.L.Turnquist@gmail.com)
>
>

You're looking for "man1.install".

Jack

Re: [homebrew] Fixing the man pages in my formula...

From:
Greg Turnquist
Date:
2011-10-19 @ 04:56
Excellent!

On Tue, Oct 18, 2011 at 11:35 PM, Jack Nagel <jacknagel@gmail.com> wrote:

> On Tue, Oct 18, 2011 at 11:22 PM, Greg Turnquist
> <greg.l.turnquist@gmail.com> wrote:
> > I am working on the formula for sslscan. It's almost done except for the
> man
> > page. The tarball is very simple. There is a single .c file and a single
> .1
> > man page, all in the base folder. Unfortunately, putting:
> > man.install ["sslscan.1"]
> > ...merely puts it into share/man instead of share/man/man1 where it
> belongs.
> > I don't know how to move it, and the Formula Cookbook doesn't say much
> about
> > man pages. I don't grok what man.mkpath is supposed to do or if it helps
> > here. Any homebrew or ruby APIs that I should use?
> > --
> > Greg Turnquist (Greg.L.Turnquist@gmail.com)
> >
> >
>
> You're looking for "man1.install".
>
> Jack
>



-- 
Greg Turnquist (Greg.L.Turnquist@gmail.com)