git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] meson: fix perl dependencies for Documentation

From
Sam James <sam@gentoo.org>
Date
Jan 14, 2025, 14:03 UTC
Message-ID
<87r055wl06.fsf@gentoo.org>
In-Reply-To
<Z4TOTVZbDlxh4Uuy@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 16 quoted lines
> On Sat, Jan 11, 2025 at 06:38:50AM +0000, Sam James wrote:
>> diff --git a/Documentation/technical/meson.build b/Documentation/technical/meson.build
>> index 21dfb8b5c9..8c93da3566 100644
>> --- a/Documentation/technical/meson.build
>> +++ b/Documentation/technical/meson.build
>> @@ -42,6 +42,7 @@ api_index = custom_target(
>>      '@OUTPUT@',
>>    ],
>>    env: script_environment,
>> +  depends: documentation_deps,
>>    input: api_docs,
>>    output: 'api-index.txt',
>>  )
>
> Wait, this doesn't make a lot of sense to me. "api-index.sh" does not
> care about "asciidoc.conf" at all, so why is this dependency needed?

You're completely right -- I thought I'd found that api-index.sh *did* need it, but it definitely doesn't upon checking.

Show 13 quoted lines
>
>> @@ -60,6 +61,7 @@ foreach article : api_docs + articles
>>      command: asciidoc_html_options,
>>      input: article,
>>      output: fs.stem(article) + '.html',
>> +    depends: documentation_deps,
>>      install: true,
>>      install_dir: get_option('datadir') / 'doc/git-doc/technical',
>>    )
>
> This one looks as expected, though.
>
> Thanks!
I'll respin. Thanks.
>
> Patrick
Previous: Patrick Steinhardt
Message 3 of 3 in “meson: fix perl dependencies for Documentation”
  1. meson: fix perl dependencies for DocumentationSam James, Jan 11, 2025
  2. Patrick SteinhardtJan 13, 2025
  3. Sam JamesJan 14, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.