summaryrefslogtreecommitdiff
path: root/contrib/scalar
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-03 17:04:18 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-03 14:14:55 -0800
commita9fda017f40ee7ef2d41e52581b6064bb69ff7a2 (patch)
tree4d3f5150fc05f9fab17db52eb46c0686cdba52f4 /contrib/scalar
parentMakefile: move $(comma), $(empty) and $(space) to shared.mak (diff)
downloadtgif-a9fda017f40ee7ef2d41e52581b6064bb69ff7a2.tar.xz
Makefile: add "$(QUIET)" boilerplate to shared.mak
The $(QUIET) variables we define are largely duplicated between our various Makefiles, let's define them in the new "shared.mak" instead. Since we're not using the environment to pass these around we don't need to export the "QUIET_GEN" and "QUIET_BUILT_IN" variables anymore. The "QUIET_GEN" variable is used in "git-gui/Makefile" and "gitweb/Makefile", but they've got their own definition for those. The "QUIET_BUILT_IN" variable is only used in the top-level "Makefile". We still need to export the "V" variable. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/scalar')
-rw-r--r--contrib/scalar/Makefile14
1 files changed, 0 insertions, 14 deletions
diff --git a/contrib/scalar/Makefile b/contrib/scalar/Makefile
index d585b319ed..5e86d78e19 100644
--- a/contrib/scalar/Makefile
+++ b/contrib/scalar/Makefile
@@ -8,20 +8,6 @@ include ../../config.mak.uname
-include ../../config.mak.autogen
-include ../../config.mak
-QUIET_SUBDIR0 = +$(MAKE) -C # space to separate -C and subdir
-QUIET_SUBDIR1 =
-
-ifneq ($(findstring s,$(MAKEFLAGS)),s)
-ifndef V
- QUIET_GEN = @echo ' ' GEN $@;
- QUIET_SUBDIR0 = +@subdir=
- QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \
- $(MAKE) $(PRINT_DIR) -C $$subdir
-else
- export V
-endif
-endif
-
TARGETS = scalar$(X) scalar.o
GITLIBS = ../../common-main.o ../../libgit.a ../../xdiff/lib.a