r869 - in trunk: . code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Aug 25 12:25:52 EDT 2006


Author: tjw
Date: 2006-08-25 12:25:51 -0400 (Fri, 25 Aug 2006)
New Revision: 869

Modified:
   trunk/Makefile
   trunk/code/qcommon/common.c
Log:
* Print the SVN version string in Com_Init()


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2006-08-23 19:43:28 UTC (rev 868)
+++ trunk/Makefile	2006-08-25 16:25:51 UTC (rev 869)
@@ -1082,6 +1082,9 @@
 $(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_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)

Modified: trunk/code/qcommon/common.c
===================================================================
--- trunk/code/qcommon/common.c	2006-08-23 19:43:28 UTC (rev 868)
+++ trunk/code/qcommon/common.c	2006-08-25 16:25:51 UTC (rev 869)
@@ -2397,7 +2397,7 @@
 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");




More information about the quake3-commits mailing list