GNU bug report logs - #79049
ChangeLog is added to distribution even when inside a false conditional

Previous Next

Package: automake;

Reported by: Tomas Volf <~@wolfsden.cz>

Date: Sat, 19 Jul 2025 14:00:03 UTC

Severity: normal

Full log


Message #11 received at 79049 <at> debbugs.gnu.org (full text, mbox):

From: Tomas Volf <~@wolfsden.cz>
To: Karl Berry <karl <at> freefriends.org>
Cc: 79049 <at> debbugs.gnu.org
Subject: Re: bug#79049: ChangeLog is added to distribution even when inside
 a false conditional
Date: Sun, 20 Jul 2025 21:58:13 +0200
Karl Berry <karl <at> freefriends.org> writes:

> Thanks for the report and looking into the code. There have been
> previous reports relating to targets and conditionals, e.g.,
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=13940 (from 2013 ...)
> and I think it's been mentioned in mail and elsewhere, too.
>
> Updating the doc is no problem, thanks. But I'm not sure how to do a
> real fix.  The conditional might be defined at configure-time, so
> automake can't know whether it's true or not when it's running, as far
> as I can see.

Hm, this is very good point I failed to realize.

> Maybe you or someone else has a clearer idea of how to proceed?

Dropping the magic related to these special files is probably not
possible now, so only realistic option I see is to document the edge
case and move on.  Not great, so I hope someone will have a better
idea. :/

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.




This bug report was last modified 20 days ago.

Previous Next


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