GNU bug report logs -
#79049
ChangeLog is added to distribution even when inside a false conditional
Previous Next
Full log
View this message in rfc822 format
if DISTRIBUTE_CHANGELOG
ChangeLog:
echo nop
endif
I haven't had a chance to test this, but how about making the conditional
merely define a variable, and a fallback ChangeLog rule, as in:
if DISTRIBUTE_CHANGELOG
ChangeLog_target = ChangeLog
else
ChangeLog_target = no_ChangeLog
ChangeLog:
endif
$(ChangeLog_target):
make changelog
I admit I still haven't got my mind wrapped very firmly around this
scenario :), so I might be way off. Just a thought. --best, karl.
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.