[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pod to man
From: |
Russ Allbery |
Subject: |
Re: pod to man |
Date: |
Tue, 15 Dec 2009 20:08:14 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Monty Taylor <address@hidden> writes:
> I have several document source files, each ending in pod, which will
> each produce one more more man pages when run through pod2man. Simply,
> something like this:
> function1.3: source.pod
> function2.3: source.pod
Do you really want to generate separate copies of the man page for each
function documented by the same source POD file? It's more normal to
generate one copy of the man page and then, during make install, symlink
the other ones to the one man page that you generate.
If you make that change, then there's a one-to-one correspondance between
source files and output *roff files, at which point (if they're named
accordingly) the pattern rule would work.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>