This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Conditional info_TEXINFOS
- To: Kevin Ryde <user42 at zip dot com dot au>
- Subject: Re: Conditional info_TEXINFOS
- From: Tom Tromey <tromey at redhat dot com>
- Date: 23 May 2001 16:01:17 -0600
- Cc: automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <87g0dvpwp0.fsf@zip.com.au>
- Reply-To: tromey at redhat dot com
>>>>> "Kevin" == Kevin Ryde <user42@zip.com.au> writes:
Kevin> Would it be easy to let info_TEXINFOS be conditionally defined?
Kevin> I think it should create and distribute the info files
Kevin> unconditionally, but only install (or uninstall) them under
Kevin> WANT_FOO.
I'd prefer not to add a special case like this. Instead try this:
if WANT_FOO
info_TEXINFOS = foo.texi
else
noinst_TEXINFOS = foo.texi
endif
Unfortunately this doesn't work. Automake doesn't anticipate someone
not wanting to install their texinfo.
Could you submit a PR for this?
Texinfo support lags behind some of the other primaries because it is
implemented specially :-(. So dist_ and nodist_ prefixes also don't
work there.
Tom