aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-02-25 14:19:36 -0800
committerJunio C Hamano <gitster@pobox.com>2025-02-25 14:19:36 -0800
commit092180990de06a9be1b3d662c7e46eccceb24bb1 (patch)
treee75849dff60e5072037ab2d9d508e3017b431c85 /Documentation
parent9b07c152dfce52663795fe9b4e1ed5626bfda455 (diff)
parent5309c1e9fb399c390ed36ef476e91f76f6746fa9 (diff)
downloadgit-092180990de06a9be1b3d662c7e46eccceb24bb1.tar.xz
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
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index a734c6d624..c9a7cf662f 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -1,3 +1,6 @@
+# The default target of this Makefile is...
+all::
+
# Import tree-wide shared Makefile behavior and libraries
include ../shared.mak
@@ -238,7 +241,7 @@ DEFAULT_EDITOR_SQ = $(subst ','\'',$(DEFAULT_EDITOR))
ASCIIDOC_EXTRA += -a 'git-default-editor=$(DEFAULT_EDITOR_SQ)'
endif
-all: html man
+all:: html man
html: $(DOC_HTML)