Merge branch 'ad/set-default-target-in-makefiles'

Correct the default target in Documentation/Makefile, and
future-proof all Makefiles from similar breakages by declaring the
default target (which happens to be "all") upfront.

* ad/set-default-target-in-makefiles:
  Makefile: set default goals in makefiles
This commit is contained in:
Junio C Hamano
2025-02-25 14:19:36 -08:00
15 changed files with 46 additions and 11 deletions

View File

@ -1,10 +1,13 @@
# The default target of this Makefile is...
all::
# Import tree-wide shared Makefile behavior and libraries
include ../../shared.mak
-include ../../config.mak
export GIT_TEST_OPTIONS
all: test-lint perf
all:: test-lint perf
perf: pre-clean
./run