[Bug bootstrap/27516] install failure due to unconditional invocation of makeinfo for treelang.texi

aldot at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 21 17:46:00 GMT 2006



------- Comment #7 from aldot at gcc dot gnu dot org  2006-05-21 17:46 -------
> Wouldn't it be better just to modify gcc/Makefile.in to do:
> 
> ifneq($(BUILD_INFO),)
> info: $(INFOFILES) lang.info @GENINSRC@ srcinfo lang.srcinfo
> else
> info:
> fi
> 
> Then, in the subdirectory Makefiles we can avoid checking BUILD_INFO at all.

Agree, but i thought that this may be a bit more intrusive than touching the
one invalid invocation.

Providing an empty info: and perhaps also html: would be the cleanest thing.
>From the looks, html: may also be needed since gcc/Makefile.in reads:
TEXI2HTML = $(MAKEINFO) --html

OTOH, html is apparently not in the default install target, so if somebody
requests it explicitely, it may be ok to fail noisily.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27516



More information about the Gcc-bugs mailing list