[FFmpeg-cvslog] r22421 - trunk/Makefile

mru subversion
Wed Mar 10 03:56:59 CET 2010


Author: mru
Date: Wed Mar 10 03:56:59 2010
New Revision: 22421

Log:
Make version.h depend on git changes

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Wed Mar 10 03:56:56 2010	(r22420)
+++ trunk/Makefile	Wed Mar 10 03:56:59 2010	(r22421)
@@ -86,9 +86,10 @@ tools/%.o: tools/%.c
 ffplay.o ffplay.d: CFLAGS += $(SDL_CFLAGS)
 
 VERSION_SH  = $(SRC_PATH_BARE)/version.sh
+GIT_LOG     = $(SRC_PATH_BARE)/.git/logs/HEAD
 SVN_ENTRIES = $(SRC_PATH_BARE)/.svn/entries
 
-.version: $(wildcard $(SVN_ENTRIES)) $(VERSION_SH) config.mak
+.version: $(wildcard $(GIT_LOG) $(SVN_ENTRIES)) $(VERSION_SH) config.mak
 .version: M=@
 
 version.h .version:



More information about the ffmpeg-cvslog mailing list