This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: libfoo.la is already going to be installed in `lib'
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: Harlan Stenn <Harlan dot Stenn at pfcs dot com>
- Cc: automake at gnu dot org
- Date: Tue, 20 Aug 2002 10:36:43 +0200
- Subject: Re: libfoo.la is already going to be installed in `lib'
- References: <5575.1029818825@dog.pfcs.com>
>>> "Harlan" == Harlan Stenn <Harlan.Stenn@pfcs.com> writes:
Harlan> I hope I didn't ask about this one already.
Harlan> I have a Makefile.am that uses conditionals:
Harlan> foo/Makefile.am:
Harlan> if COND1
Harlan> libfoo = libfoo.la
Harlan> endif
Harlan> if COND2
Harlan> libfoo = libfoo.la
Harlan> endif
Harlan> ...
Harlan> lib_LTLIBRARIES = $(libfoo)
Harlan> and when I run automake-1.6.3 on it I get:
Harlan> automake: foo/Makefile.am: `libfoo.la' is already going
Harlan> to be installed in `lib'
Harlan> twice.
Could you fill a PR for this?
Harlan> So how do I get automake to shut up?
I guess a ugly workaround is to define COND3 as "COND1 or COND2"
and use that...
--
Alexandre Duret-Lutz