subtree: make "all" default target of Makefile
authorJeff King <redacted>
Sun, 17 Aug 2014 07:07:32 +0000 (03:07 -0400)
committerJunio C Hamano <redacted>
Mon, 18 Aug 2014 17:20:36 +0000 (10:20 -0700)
commit960160b061a29a4a4ae637e035c3892da72326ac
tree9db37d02eae61caa1896e7f9a4bf9b5675dc47f4
parentda33a97998f6d6206c08bd72a527f5b8e6e26d33
subtree: make "all" default target of Makefile

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 <redacted>
Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/subtree/Makefile
git clone https://git.99rst.org/PROJECT