<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/subtree/Makefile, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=master</id>
<link rel='self' href='https://git.shady.money/git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2025-03-01T18:00:52Z</updated>
<entry>
<title>contrib/subtree: rename .txt to .adoc</title>
<updated>2025-03-01T18:00:52Z</updated>
<author>
<name>Todd Zullinger</name>
<email>tmz@pobox.com</email>
</author>
<published>2025-03-01T15:36:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=561de07b57fcc2057fb6b96043f008a5b83f140c'/>
<id>urn:sha1:561de07b57fcc2057fb6b96043f008a5b83f140c</id>
<content type='text'>
The .txt extensions were changed to .adoc in 1f010d6bdf (doc: use .adoc
extension for AsciiDoc files, 2025-01-20).

Do the same for contrib/subtree.

Signed-off-by: Todd Zullinger &lt;tmz@pobox.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib/subtree: fix building docs</title>
<updated>2025-01-17T17:56:37Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2025-01-17T09:56:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d4cd75f6bd592e733c3e5b1607aaed991e93902f'/>
<id>urn:sha1:d4cd75f6bd592e733c3e5b1607aaed991e93902f</id>
<content type='text'>
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 &lt;garga@FreeBSD.org&gt;
Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>subtree: fix build with AsciiDoctor 2</title>
<updated>2020-04-08T19:10:36Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-04-08T14:25:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=826f0c0df2505d21bd217a7962c4ea3fd0531d18'/>
<id>urn:sha1:826f0c0df2505d21bd217a7962c4ea3fd0531d18</id>
<content type='text'>
This is a (late) companion for f6461b82b93 (Documentation: fix build
with Asciidoctor 2, 2019-09-15).

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "subtree: make install targets depend on build targets"</title>
<updated>2018-10-18T02:07:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-10-18T02:07:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0df8e6d5a534f2e1d445dd6d5101fe1fd5f9bded'/>
<id>urn:sha1:0df8e6d5a534f2e1d445dd6d5101fe1fd5f9bded</id>
<content type='text'>
This reverts commit 744f7c4c314dc0e7816ac05520e8358c8318187a.

These targets do depend on the fact that each prereq is explicitly
listed via their use of $^, which I failed to notice, and broke the
build.
</content>
</entry>
<entry>
<title>subtree: make install targets depend on build targets</title>
<updated>2018-10-16T08:00:42Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-10-16T07:56:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=744f7c4c314dc0e7816ac05520e8358c8318187a'/>
<id>urn:sha1:744f7c4c314dc0e7816ac05520e8358c8318187a</id>
<content type='text'>
Now that we have build targets let the install targets depend on them.
Also make the targets phony.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>subtree: add build targets 'man' and 'html'</title>
<updated>2018-10-10T02:21:47Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-10-07T07:30:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0f952b265990e76444f09e2d5ff816e9b001082f'/>
<id>urn:sha1:0f952b265990e76444f09e2d5ff816e9b001082f</id>
<content type='text'>
We have targets 'install-man' and 'install-html', let's add build
targets as well.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>subtree: honour USE_ASCIIDOCTOR when set</title>
<updated>2017-06-28T04:01:27Z</updated>
<author>
<name>A. Wilcox</name>
<email>AWilcox@Wilcox-Tech.com</email>
</author>
<published>2017-06-28T02:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fdc1ad97c1fc31cb276a37c2e63ed88716b76269'/>
<id>urn:sha1:fdc1ad97c1fc31cb276a37c2e63ed88716b76269</id>
<content type='text'>
Defining USE_ASCIIDOCTOR=1 when building Git uses asciidoctor over
asciidoc when generating DocBook and man page documentation.  However,
the contrib/subtree module does not presently honour that flag.

This causes a build failure when asciidoc is not present on the build
system.  Instead, adapt the main Documentation/Makefile logic to use
asciidoctor when requested.

Signed-off-by: A. Wilcox &lt;AWilcox@Wilcox-Tech.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib/subtree: Make testing easier</title>
<updated>2016-01-19T18:15:20Z</updated>
<author>
<name>David A. Greene</name>
<email>greened@obbligato.org</email>
</author>
<published>2016-01-17T23:47:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=43cce5c8ed48ab955b3347f999cda7c1c33dde0a'/>
<id>urn:sha1:43cce5c8ed48ab955b3347f999cda7c1c33dde0a</id>
<content type='text'>
Add some Makefile dependencies to ensure an updated git-subtree
gets copied to the main area before testing begins.

Signed-off-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>subtree: add an install-html target</title>
<updated>2014-10-15T22:17:08Z</updated>
<author>
<name>Sebastian Schuberth</name>
<email>sschuberth@gmail.com</email>
</author>
<published>2014-10-15T18:49:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4d24d5202c3c08c999231cc30bf8de70bf11dc80'/>
<id>urn:sha1:4d24d5202c3c08c999231cc30bf8de70bf11dc80</id>
<content type='text'>
Also adjust ignore rules accordingly.

Signed-off-by: Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>subtree: make "all" default target of Makefile</title>
<updated>2014-08-18T17:20:36Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-08-17T07:07:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=960160b061a29a4a4ae637e035c3892da72326ac'/>
<id>urn:sha1:960160b061a29a4a4ae637e035c3892da72326ac</id>
<content type='text'>
You should be able to run "make" in contrib/subtree with no
arguments and get the "all" target. This was broken by 8e2a5cc
(contrib/subtree/Makefile: use GIT-VERSION-FILE, 2014-05-06), which
put the rule for GIT-VERSION-FILE higher in the file.

We can fix this by putting an empty "all::" target at the top of the
file, just like our main Makefile does, and document that fact.
That fixes this instance and future-proofs against it happening
again.

Reported-by: Jack Nagel &lt;jacknagel@gmail.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
