From a9a340054c32478cf49294e33a1877b083085c01 Mon Sep 17 00:00:00 2001 From: tjw Date: Fri, 25 Aug 2006 16:25:51 +0000 Subject: * Print the SVN version string in Com_Init() git-svn-id: svn://svn.icculus.org/quake3/trunk@869 edf5b092-35ff-0310-97b2-ce42778d08ea --- Makefile | 6 ++++++ code/qcommon/common.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.3