Commit 225f78c8 (Merge branch 'master' of git://repo.or.cz/alt-git
into jn/autodep, 2010-01-26) changed Makefile in such a way that
the following error occurs when trying to compile Git under MinGW environment:
make: *** No rule to make target `test-chmtime', needed by `all'. Stop.
Under Linux it seems there's no difference between two variants.
This patch applies on top of branch 'next' of git.git repository.
Signed-off-by: Michael Lukashov <redacted>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index b6f097e..498e5e7 100644
--- a/Makefile
+++ b/Makefile
@@ -393,7 +393,7 @@ TEST_PROGRAMS_NEED_X += test-sha1
TEST_PROGRAMS_NEED_X += test-sigchain
TEST_PROGRAMS_NEED_X += test-index-version
-TEST_PROGRAMS := $(patsubst %,%$X,$(TEST_PROGRAMS_NEED_X))
+TEST_PROGRAMS = $(patsubst %,%$X,$(TEST_PROGRAMS_NEED_X))
# List built-in command $C whose implementation cmd_$C() is not in
# builtin/$C.o but is linked in as part of some other command.
--
1.7.0.1556.g5a328