[ioquake3] 20/136: Fix build when cloned as submodule

Simon McVittie smcv at debian.org
Thu Jun 15 09:09:00 UTC 2017


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

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 537d28556ff667dfdad6bbac330d8bea36670c5c
Author: Dan Church <amphetamachine at gmail.com>
Date:   Thu Mar 30 16:04:53 2017 -0500

    Fix build when cloned as submodule
    
    Steps to reproduce:
    
        git init
        git submodule add -b master git://github.com/ioquake/ioq3.git
        cd ioq3
        make USE_GIT=1
---
 Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 5d4347d..cd98122 100644
--- a/Makefile
+++ b/Makefile
@@ -2657,9 +2657,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/ioquake3.git



More information about the Pkg-games-commits mailing list