aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-08-25 16:25:51 +0000
committertjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-08-25 16:25:51 +0000
commita9a340054c32478cf49294e33a1877b083085c01 (patch)
treed72c64975961ea5ab8223d4bc12dbb5486c07a1c
parent142808ab8545e48e0772b71a84b373d05dcd232b (diff)
downloadioquake3-aero-a9a340054c32478cf49294e33a1877b083085c01.tar.gz
ioquake3-aero-a9a340054c32478cf49294e33a1877b083085c01.zip
* Print the SVN version string in Com_Init()
git-svn-id: svn://svn.icculus.org/quake3/trunk@869 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--Makefile6
-rw-r--r--code/qcommon/common.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9f8a94e..a8944b5 100644
--- a/Makefile
+++ b/Makefile
@@ -1082,6 +1082,9 @@ $(B)/client/cm_patch.o : $(CMDIR)/cm_patch.c; $(DO_CC)
$(B)/client/cm_polylib.o : $(CMDIR)/cm_polylib.c; $(DO_CC)
$(B)/client/cmd.o : $(CMDIR)/cmd.c; $(DO_CC)
$(B)/client/common.o : $(CMDIR)/common.c; $(DO_CC)
+ifeq ($(USE_SVN),1)
+ $(B)/client/common.o : .svn/entries
+endif
$(B)/client/cvar.o : $(CMDIR)/cvar.c; $(DO_CC)
$(B)/client/files.o : $(CMDIR)/files.c; $(DO_CC)
$(B)/client/md4.o : $(CMDIR)/md4.c; $(DO_CC)
@@ -1350,6 +1353,9 @@ $(B)/ded/cm_trace.o : $(CMDIR)/cm_trace.c; $(DO_DED_CC)
$(B)/ded/cm_patch.o : $(CMDIR)/cm_patch.c; $(DO_DED_CC)
$(B)/ded/cmd.o : $(CMDIR)/cmd.c; $(DO_DED_CC)
$(B)/ded/common.o : $(CMDIR)/common.c; $(DO_DED_CC)
+ifeq ($(USE_SVN),1)
+ $(B)/ded/common.o : .svn/entries
+endif
$(B)/ded/cvar.o : $(CMDIR)/cvar.c; $(DO_DED_CC)
$(B)/ded/files.o : $(CMDIR)/files.c; $(DO_DED_CC)
$(B)/ded/md4.o : $(CMDIR)/md4.c; $(DO_DED_CC)
diff --git a/code/qcommon/common.c b/code/qcommon/common.c
index e861b51..438f049 100644
--- a/code/qcommon/common.c
+++ b/code/qcommon/common.c
@@ -2397,7 +2397,7 @@ Com_Init
void Com_Init( char *commandLine ) {
char *s;
- Com_Printf( "%s %s %s\n", Q3_VERSION, PLATFORM_STRING, __DATE__ );
+ Com_Printf( "%s %s %s\n", SVN_VERSION, PLATFORM_STRING, __DATE__ );
if ( setjmp (abortframe) ) {
Sys_Error ("Error during initialization");