summaryrefslogtreecommitdiff
path: root/dev-vcs/git/files/git-2.48.0-doc-deps.patch
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-01-11 06:35:13 +0000
committerSam James <sam@gentoo.org>2025-01-11 06:36:35 +0000
commit2f565e2703c06c2c82c0b5fb3bdbcaa0a09d2eec (patch)
treef26c14c765a2e4d230a5b4f826aa4b43212d706c /dev-vcs/git/files/git-2.48.0-doc-deps.patch
parentb5a52e4ff39a8485c504f1d449597b40077bf3e6 (diff)
downloadgentoo-2f565e2703c06c2c82c0b5fb3bdbcaa0a09d2eec.tar.gz
gentoo-2f565e2703c06c2c82c0b5fb3bdbcaa0a09d2eec.tar.bz2
gentoo-2f565e2703c06c2c82c0b5fb3bdbcaa0a09d2eec.zip
dev-vcs/git: fix USE=doc
* Fix parallel build w/ USE=doc for finding asciidoc.conf * Hack around issues with old Makefiles not knowing about out-of-source build artifacts from Meson Closes: https://bugs.gentoo.org/947827 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-vcs/git/files/git-2.48.0-doc-deps.patch')
-rw-r--r--dev-vcs/git/files/git-2.48.0-doc-deps.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-vcs/git/files/git-2.48.0-doc-deps.patch b/dev-vcs/git/files/git-2.48.0-doc-deps.patch
new file mode 100644
index 000000000000..83efd62ab38d
--- /dev/null
+++ b/dev-vcs/git/files/git-2.48.0-doc-deps.patch
@@ -0,0 +1,18 @@
+--- 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',
+ )