git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] meson: fix perl dependencies for Documentation
@ 2025-01-11  6:38 Sam James
  2025-01-13  8:26 ` Patrick Steinhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Sam James @ 2025-01-11  6:38 UTC (permalink / raw)
  To: git; +Cc: Patrick Steinhardt, Eli Schwartz, Sam James

We need an explicit `depends: documentation_deps` so that all of our
Documentation targets know they require asciidoc.conf. This shows up
as parallel build failures with it not yet being available.

Other targets look OK already.

Signed-off-by: Sam James <sam@gentoo.org>
---
 Documentation/technical/meson.build | 2 ++
 1 file changed, 2 insertions(+)

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',
 )
@@ -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',
   )
-- 
2.48.0.rc2


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

* Re: [PATCH] meson: fix perl dependencies for Documentation
  2025-01-11  6:38 [PATCH] meson: fix perl dependencies for Documentation Sam James
@ 2025-01-13  8:26 ` Patrick Steinhardt
  2025-01-14 14:03   ` Sam James
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Steinhardt @ 2025-01-13  8:26 UTC (permalink / raw)
  To: Sam James; +Cc: git, Eli Schwartz

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?

> @@ -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!

Patrick

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

* Re: [PATCH] meson: fix perl dependencies for Documentation
  2025-01-13  8:26 ` Patrick Steinhardt
@ 2025-01-14 14:03   ` Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2025-01-14 14:03 UTC (permalink / raw)
  To: Patrick Steinhardt; +Cc: git, Eli Schwartz

Patrick Steinhardt <ps@pks.im> writes:

> 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.

>
>> @@ -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

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

end of thread, other threads:[~2025-01-14 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-11  6:38 [PATCH] meson: fix perl dependencies for Documentation Sam James
2025-01-13  8:26 ` Patrick Steinhardt
2025-01-14 14:03   ` Sam James

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 NNTP newsgroup(s).