]> git.ipfire.org Git - thirdparty/git.git/commit
contrib/subtree: fix building docs
authorPatrick Steinhardt <ps@pks.im>
Fri, 17 Jan 2025 09:56:05 +0000 (10:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Jan 2025 17:56:37 +0000 (09:56 -0800)
commitd4cd75f6bd592e733c3e5b1607aaed991e93902f
treedd9803f6bc81779e3c05a72f8862a2267ead519f
parentfbe8d3079d4a96aeb4e4529cc93cc0043b759a05
contrib/subtree: fix building docs

In a38edab7c8 (Makefile: generate doc versions via GIT-VERSION-GEN,
2024-12-06), we have refactored how we build our documentation by
injecting the Git version into the Asciidoc and AsciiDoctor config
files instead of doing so via arguments. As such, the original config
files were removed, where the expectation is that they get generated via
`GIT-VERSION-GEN` now.

Whie the git-subtree(1) command part of "contrib/" also builds docs
using these same config files, its Makefile wasn't adjusted accordingly
and thus building the docs is broken.

Fix this by using `GIT-VERSION-GEN` to generate those files.

Reported-by: Renato Botelho <garga@FreeBSD.org>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/subtree/.gitignore
contrib/subtree/Makefile