[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I conditinally make a makefile?
From: |
Andreas Schwab |
Subject: |
Re: How do I conditinally make a makefile? |
Date: |
Fri, 19 Apr 2002 15:51:58 +0200 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) |
Sam Clegg <address@hidden> writes:
|> 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)
Better yet, use AC_CONFIG_FILES. Calling AC_OUTPUT with argument is
considered obsolete usage.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- 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, 2002/04/19
- Re: How do I conditinally make a makefile?,
Andreas Schwab <=
- 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