[iortcw] 51/95: All: Fix build when cloned as submodule

Simon McVittie smcv at debian.org
Fri Sep 8 10:42:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to tag 1.51
in repository iortcw.

commit 838d21a82f9ffa896f44c2c012c4e86dd30f258c
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Tue Apr 11 18:08:24 2017 -0400

    All: Fix build when cloned as submodule
---
 MP/Makefile | 6 +++---
 SP/Makefile | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/MP/Makefile b/MP/Makefile
index 8ebfeba..a4ba891 100644
--- a/MP/Makefile
+++ b/MP/Makefile
@@ -2705,9 +2705,9 @@ $(B)/ded/%.o: $(NDIR)/%.c
 
 # Extra dependencies to ensure the git version is incorporated
 ifeq ($(USE_GIT),1)
-  $(B)/client/cl_console.o : ../.git/index
-  $(B)/client/common.o : ../.git/index
-  $(B)/ded/common.o : ../.git/index
+  $(B)/client/cl_console.o : ../.git
+  $(B)/client/common.o : ../.git
+  $(B)/ded/common.o : ../.git
 endif
 
 
diff --git a/SP/Makefile b/SP/Makefile
index 8054f5f..57e1362 100644
--- a/SP/Makefile
+++ b/SP/Makefile
@@ -2671,9 +2671,9 @@ $(B)/ded/%.o: $(NDIR)/%.c
 
 # Extra dependencies to ensure the git version is incorporated
 ifeq ($(USE_GIT),1)
-  $(B)/client/cl_console.o : ../.git/index
-  $(B)/client/common.o : ../.git/index
-  $(B)/ded/common.o : ../.git/index
+  $(B)/client/cl_console.o : ../.git
+  $(B)/client/common.o : ../.git
+  $(B)/ded/common.o : ../.git
 endif
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list