From: Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>
To: <newlib@sourceware.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Subject: Generate porting.info in build tree rather than source tree
Date: Fri, 28 Oct 2022 17:40:44 +0200 [thread overview]
Message-ID: <123f7625-98be-a5ee-40c7-f743dbc326fa@foss.st.com> (raw)
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
next reply other threads:[~2022-10-28 15:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-28 15:40 Torbjorn SVENSSON [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=123f7625-98be-a5ee-40c7-f743dbc326fa@foss.st.com \
--to=torbjorn.svensson@foss.st.com \
--cc=newlib@sourceware.org \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).