[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help2man
From: |
Bob Rossi |
Subject: |
Re: help2man |
Date: |
Mon, 6 Feb 2006 06:54:09 -0500 |
User-agent: |
Mutt/1.5.9i |
> On Sun, Feb 05, 2006 at 08:39:44AM -0500, Bob Rossi wrote:
> > dist_man_MANS = cgdb.1
> > # Autogenerate the man page using help2man. This happens whenever the
> > # user modifies either configure.in or usage.c, which contains CGDB's
> > usage.
> > cgdb.1: $(top_srcdir)/cgdb/src/usage.c $(top_srcdir)/configure.in
> > help2man --output=$(top_srcdir)/doc/cgdb.1
> > $(top_builddir)/cgdb/src/cgdb$(EXEEXT)
>
> you should make sure that the executable is up-to date; do something like:
>
> cgdb.1: $(top_srcdir)/cgdb/src/usage.c $(top_srcdir)/configure.in
> $(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/cgdb/src cgdb$(EXEEXT)
> help2man --output=$(top_srcdir)/doc/cgdb.1
> $(top_builddir)/cgdb/src/cgdb$(EXEEXT)
O, I see. I actually build the doc/ directory after the cgdb/ directory,
however, if you cd into it, that won't be the case. Thanks.
> > AM_INIT_AUTOMAKE(cgdb, 0.6.0) macro
>
> Please note that this for is obsolete. To get the best results from
> current automake & autoconf, give the version number to AC_INIT and
> call AM_INIT_AUTOMAKE without parameters (or with an option list only).
> See the fine manuals.
Wow, thanks. Either I'm getting old fast, or I did this wrong in the
first place. Thanks for the advice.
Bob Rossi
- help2man, Bob Rossi, 2006/02/04
- Re: help2man, Alexandre Duret-Lutz, 2006/02/05
- Re: help2man, Harlan Stenn, 2006/02/05
- Re: help2man, Bob Rossi, 2006/02/05
- Re: help2man & help2texi??, Bruce Korb, 2006/02/05
- Re: help2man, Stepan Kasal, 2006/02/06
- Re: help2man,
Bob Rossi <=
- Re: help2man, Ralf Wildenhues, 2006/02/06
- Re: help2man, Ralf Wildenhues, 2006/02/06
- Re: help2man, Stepan Kasal, 2006/02/06
- Re: help2man, Ralf Wildenhues, 2006/02/06