[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I conditinally make a makefile?
From: |
Sam Clegg |
Subject: |
Re: How do I conditinally make a makefile? |
Date: |
Fri, 19 Apr 2002 14:22:27 +0100 |
User-agent: |
Mutt/1.3.28i |
On Fri, Apr 19, 2002 at 09:07:16AM +0100, Dr. David Kirkby wrote:
> Anyway, here is the end of my configure.in. Any suggesions to achieve what I
> want?
>
> AC_OUTPUT([\
> Makefile \
> src/Makefile \
> src/non_gui/Makefile \
> src/gui/Makefile \
> man/Makefile \
> examples/Makefile \
> docs/Makefile \
> docs/html-docs/Makefile \
> docs/html-docs/jpgs/Makefile \
> docs/qex-december-1996/Makefile \
> docs/theory/Makefile \
> docs/Makefile ])
>
> dnl if test "x$with_gui" = "xyes"; then
> dnl AC_OUTPUT([src/gui/Makefile])
> dnl fi
If you really want to do this you could use a shell variable:
makefiles="$makefiles Makefile.maybe"
AC_OUTPUT($makefiles)
If you use automake, however, it may get very confused by this.
--
sam clegg
email: address@hidden
www : http://www.superduper.net
gpg key : http://www.superduper.net/~samc/key.gpg
$superduper: .signature,v 1.2 2001/11/26 19:49:33 samc Exp $
- How do I conditinally make a makefile?, Dr. David Kirkby, 2002/04/19
- Re: How do I conditinally make a makefile?, Earnie Boyd, 2002/04/19
- Re: How do I conditinally make a makefile?,
Sam Clegg <=
- Re: How do I conditinally make a makefile?, Andreas Schwab, 2002/04/19
- Re: How do I conditinally make a makefile?, Thomas E. Dickey, 2002/04/19
- Re: How do I conditinally make a makefile?, Andreas Schwab, 2002/04/19
- Re: How do I conditinally make a makefile?, Thomas E. Dickey, 2002/04/19
- Re: How do I conditinally make a makefile?, Paul Eggert, 2002/04/19
- Re: How do I conditinally make a makefile?, Thomas Dickey, 2002/04/19
- Re: How do I conditinally make a makefile?, Andreas Schwab, 2002/04/19