]> git.ipfire.org Git - thirdparty/git.git/commitdiff
contrib/scalar: fix 'all' target in Makefile
authorVictoria Dye <vdye@github.com>
Tue, 5 Apr 2022 22:35:36 +0000 (22:35 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Apr 2022 17:19:57 +0000 (10:19 -0700)
Add extra ':' to second 'all' target definition to allow 'scalar' to build.
Without this fix, the 'all:' and 'all::' targets together cause a build
failure when 'scalar' build is enabled with 'INCLUDE_SCALAR':

    Makefile:14: *** target file `all' has both : and :: entries.  Stop.

Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/scalar/Makefile

index 5e86d78e19b8f69338ddc6a75ef195ea8c8ecbd8..37f283f35d74d6f3879c9719f810dd5798fd0933 100644 (file)
@@ -11,7 +11,7 @@ include ../../config.mak.uname
 TARGETS = scalar$(X) scalar.o
 GITLIBS = ../../common-main.o ../../libgit.a ../../xdiff/lib.a
 
-all: scalar$(X) ../../bin-wrappers/scalar
+all:: scalar$(X) ../../bin-wrappers/scalar
 
 $(GITLIBS):
        $(QUIET_SUBDIR0)../.. $(QUIET_SUBDIR1) $(subst ../../,,$@)