From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-patches@cygwin.com
Subject: Re: [PATCH] Use automake (v5)
Date: Tue, 4 May 2021 19:12:45 +0100 [thread overview]
Message-ID: <c9c3c819-0c35-a65a-136b-aab1a0d15ff0@dronecode.org.uk> (raw)
In-Reply-To: <YI/Tx0ryd7qhMhos@calimero.vinschen.de>
On 03/05/2021 11:43, Corinna Vinschen wrote:
> On May 2 16:28, Jon Turney wrote:
>> On 20/04/2021 21:13, Jon Turney wrote:
>>> For ease of reviewing, this patch doesn't contain changes to generated
>>> files which would be made by running ./autogen.sh.
>>
>> Some possible items of future work I noted:
>>
>> * Documentation is now always built (rather than dangerously ignoring any
>> errors)
>>
>> Although this is half-arsed at the moment, as we don't require the
>> documentation tools at configure time, we'll just fail when the rules are
>> executed if they are missing.
>>
>> Perhaps there should be explicit configuration to build documentation or
>> not?
>
> `make doc'?
Yeah, that's probably the right thing to do.
[...]
>> * 'make our include directories absolute so we don't have to worry about
>> making them relative to the subdirectory we happen to be building in' is
>> sufficiently obscure that it at least deserves a comment.
>
> I'm not sure I understand... -v, please?
Yeah, that's why it needs comment :)
realdirpath() in winsup/configure.ac makes paths absolute (and canonical)
Therefore we can use things set with it (AC_CYGWIN_INCLUDES,
target_builddir, winsup_srcdir) in Makefile.am in arbitrarily deep
subdirectories, and things just happen to work (which wouldn't be the
case if they contained relative paths)
It's all a hangover from when it used to be even more complex (see
commit 39e8d907), and looking at this again, this could probably be
cleaned-up some more (perhaps using $top_builddir, $top_srcdir?).
prev parent reply other threads:[~2021-05-04 18:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-20 20:13 Jon Turney
2021-04-20 20:15 ` Jon Turney
2021-04-21 16:40 ` Corinna Vinschen
2021-04-22 11:57 ` Corinna Vinschen
2021-04-26 15:03 ` Corinna Vinschen
2021-04-27 15:54 ` Jon Turney
2021-04-27 15:50 ` Jon Turney
2021-04-27 16:52 ` Ken Brown
2021-04-27 17:00 ` Ken Brown
2021-04-27 18:32 ` Jon Turney
2021-05-02 15:28 ` Jon Turney
2021-05-02 18:25 ` Brian Inglis
2021-05-03 10:40 ` Corinna Vinschen
2021-05-03 10:43 ` Corinna Vinschen
2021-05-04 18:12 ` Jon Turney [this message]
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=c9c3c819-0c35-a65a-136b-aab1a0d15ff0@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin-patches@cygwin.com \
/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).