aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/subtree
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 /contrib/subtree
parentMerge branch 'pw/merge-tree-stdin-deadlock-fix' (diff)
parentMakefile: set default goals in makefiles (diff)
downloadgit-092180990de06a9be1b3d662c7e46eccceb24bb1.tar.gz
git-092180990de06a9be1b3d662c7e46eccceb24bb1.zip
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 'contrib/subtree')
-rw-r--r--contrib/subtree/t/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/subtree/t/Makefile b/contrib/subtree/t/Makefile
index 093399c788..2a85f5ee84 100644
--- a/contrib/subtree/t/Makefile
+++ b/contrib/subtree/t/Makefile
@@ -3,6 +3,9 @@
# Copyright (c) 2005 Junio C Hamano
#
+# The default target of this Makefile is...
+all::
+
-include ../../../config.mak.autogen
-include ../../../config.mak
@@ -31,7 +34,7 @@ TSVN = $(sort $(wildcard t91[0-9][0-9]-*.sh))
TGITWEB = $(sort $(wildcard t95[0-9][0-9]-*.sh))
THELPERS = $(sort $(filter-out $(T),$(wildcard *.sh)))
-all: $(DEFAULT_TEST_TARGET)
+all:: $(DEFAULT_TEST_TARGET)
test: pre-clean $(TEST_LINT)
$(MAKE) aggregate-results-and-cleanup