[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help2man
From: |
Ralf Wildenhues |
Subject: |
Re: help2man |
Date: |
Mon, 6 Feb 2006 13:35:24 +0100 |
User-agent: |
Mutt/1.5.11 |
* Bob Rossi wrote on Mon, Feb 06, 2006 at 12:54:09PM CET:
>
> > cgdb.1: $(top_srcdir)/cgdb/src/usage.c $(top_srcdir)/configure.in
> > $(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/cgdb/src cgdb$(EXEEXT)
`make -C' is not totally portable; I'd write
cd ../cgdb/src && $(MAKE) $(AM_MAKEFLAGS) $(top_builddir)/cgdb/src
cgdb$(EXEEXT)
but then again if the package has SUBDIRs in the order that a toplevel
`make' would ensure correct order, I would not issue such a rule at all.
If you instead ever go to use a nonrecursive Makefile structure, you
could just add `../cgdb/src/cgdb$(EXEEXT)' to the prerequisites of this
rule. Much nicer. ;-)
And yes, nonrecursive Makefiles are very much possible and work well
with recent Automake versions.
Cheers,
Ralf
- 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, 2006/02/06
- Re: help2man,
Ralf Wildenhues <=
- Re: help2man, Ralf Wildenhues, 2006/02/06
- Re: help2man, Stepan Kasal, 2006/02/06
- Re: help2man, Ralf Wildenhues, 2006/02/06