GNU bug report logs - #25361
info_TEXINFOS cannot be set conditionally?

Previous Next

Package: automake;

Reported by: Benno Schulenberg <bensberg <at> justemail.net>

Date: Wed, 4 Jan 2017 20:37:01 UTC

Severity: normal

Tags: notabug

Done: Mathieu Lirzin <mthl <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Benno Schulenberg <bensberg <at> justemail.net>
To: Hans-Bernhard Bröker <HBBroeker <at> t-online.de>
Cc: 25361 <at> debbugs.gnu.org
Subject: bug#25361: info_TEXINFOS cannot be set conditionally?
Date: Sat, 07 Jan 2017 16:16:58 +0100
On Fri, Jan 6, 2017, at 00:37, Hans-Bernhard Bröker wrote:
> Am 04.01.2017 um 21:35 schrieb Benno Schulenberg:
> > What I would like to achieve is that the doc/Makefile that is
> > the result of ./configure contains rules that only try to build
> > nano.info and nano.html from nano.texi /if/ makeinfo is available,
> 
> That's what the 'missing' mechanism does automatically already.  So the 
> only thing you need to do for that is to have nano.info and nano.html 
> files in your tarball.

Okay, that works now.

> > and only tries to install nano.info and nano.html if /either/ they
> > already exist or makeinfo is available.
> 
> Again, all you have to do is distribute the files, and they'll be used 
> if they can't be rebuilt.

True.  But if they are not distributed (like in git), I would like the
install rules to be just skipped /if/ makeinfo is not available.  So,
if nano.info and nano.html are already there, install them, but if
they are not and 'makeinfo' is absent, don't even /try/ to build them.
I don't see how I can achieve that.

> You will have to change the way you call makeinfo to let 'missing' 
> actually do its job, though :-P

Thanks for the hint.  :)  The specific rule was not needed, as
automake provides it by default.

Benno

-- 
http://www.fastmail.com - Email service worth paying for. Try it for free





This bug report was last modified 7 years and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.