]> git.ipfire.org Git - thirdparty/git.git/commit
Makefile: set default goals in makefiles
authorAdam Dinwoodie <adam@dinwoodie.org>
Sat, 15 Feb 2025 21:19:03 +0000 (21:19 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Feb 2025 17:02:26 +0000 (09:02 -0800)
commit5309c1e9fb399c390ed36ef476e91f76f6746fa9
treebdfe294cc8e83bcd8b1b6c5e36ee6e86725722a6
parent063bcebf0c917140ca0e705cbe0fdea127e90086
Makefile: set default goals in makefiles

Explicitly set the default goal at the very top of various makefiles.
This is already present in some makefiles, but not all of them.

In particular, this corrects a regression introduced in a38edab7c8
(Makefile: generate doc versions via GIT-VERSION-GEN, 2024-12-06).  That
commit added some config files as build targets for the Documentation
directory, and put the target configuration in a sensible place.
Unfortunately, that sensible place was above any other build target
definitions, meaning the default goal changed to being those
configuration files only, rather than the HTML and man page
documentation.

Signed-off-by: Adam Dinwoodie <adam@dinwoodie.org>
Helped-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
15 files changed:
Documentation/Makefile
contrib/credential/libsecret/Makefile
contrib/credential/osxkeychain/Makefile
contrib/credential/wincred/Makefile
contrib/diff-highlight/Makefile
contrib/diff-highlight/t/Makefile
contrib/mw-to-git/Makefile
contrib/mw-to-git/t/Makefile
contrib/persistent-https/Makefile
contrib/subtree/t/Makefile
git-gui/Makefile
git-gui/po/glossary/Makefile
t/interop/Makefile
t/perf/Makefile
templates/Makefile