]> git.ipfire.org Git - thirdparty/git.git/commit
Makefile: generate doc versions via GIT-VERSION-GEN
authorPatrick Steinhardt <ps@pks.im>
Fri, 6 Dec 2024 13:24:41 +0000 (14:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Dec 2024 22:52:09 +0000 (07:52 +0900)
commita38edab7c88b5503bb2b5f5cbd49f6b97e9a6a4e
treee52df1ab95432e22e4ae5be757c4131a88062069
parent9bb10d27e7072cec919d38f0b987c70e598039ad
Makefile: generate doc versions via GIT-VERSION-GEN

The documentation we generate embeds information for the exact Git
version used as well as the date of the commit. This information is
injected by injecting attributes into the build process via command line
argument.

Refactor the logic so that we write the information into "asciidoc.conf"
and "asciidoctor-extensions.rb" via `GIT-VERSION-GEN` for AsciiDoc and
AsciiDoctor, respectively.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/.gitignore
Documentation/Makefile
Documentation/asciidoc.conf.in [moved from Documentation/asciidoc.conf with 97% similarity]
Documentation/asciidoctor-extensions.rb.in [moved from Documentation/asciidoctor-extensions.rb with 92% similarity]
GIT-VERSION-GEN