public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Generate porting.info in build tree rather than source tree
@ 2022-10-28 15:40 Torbjorn SVENSSON
  2022-10-29 13:32 ` Mike Frysinger
  0 siblings, 1 reply; 6+ messages in thread
From: Torbjorn SVENSSON @ 2022-10-28 15:40 UTC (permalink / raw)
  To: newlib; +Cc: Mike Frysinger

Hello,

With the recent improvements in the build system by Mike Frysinger, I've 
noticed a minor regression.

When building newlib, the file libgloss/doc/porting.info is always 
created in the source tree rather than the build tree. Looking at the 
libgloss/Makefile.* files, it appears that this is derived from the 
libgloss/doc/Makefile.inc line:
info_TEXINFOS += %D%/porting.texi

To my knowledge (no automake wiz...), %D% is a relative path, so I 
suppose the generated path should not use $(srcdir), yet the Makefile.in 
does contain $(srcdir)/doc/porting.info.

Would it be possible to have this porting.info file generated in the 
build tree rather than the source tree to avoid having the source tree 
in a dirty state after a build?

I've spotted this building newlib for arm-none-eabi.

Kind regards,
Torbjörn

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-04  0:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 15:40 Generate porting.info in build tree rather than source tree Torbjorn SVENSSON
2022-10-29 13:32 ` Mike Frysinger
2022-10-29 15:38   ` Torbjorn SVENSSON
2022-10-30  7:12     ` Mike Frysinger
2022-10-31 15:10       ` Torbjorn SVENSSON
2022-11-04  0:29         ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).