[MPlayer-cvslog] r33700 - trunk/Makefile

diego subversion at mplayerhq.hu
Wed Jun 22 14:08:54 CEST 2011


Author: diego
Date: Wed Jun 22 14:08:54 2011
New Revision: 33700

Log:
build: Rebuild version.h file if git metadata changed due to new commits.

While MPlayer does not currently use git, this is useful when working with
git-svn clones and will ease a future transition from Subversion to git.

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Wed Jun 22 13:48:31 2011	(r33699)
+++ trunk/Makefile	Wed Jun 22 14:08:54 2011	(r33700)
@@ -839,7 +839,7 @@ help_mp.h: help/help_mp-en.h $(HELP_FILE
 	help/help_create.sh $(HELP_FILE) $(CHARSET)
 
 # rebuild version.h each time the working copy is updated
-version.h: version.sh $(wildcard .svn/entries)
+version.h: version.sh $(wildcard .svn/entries .git/logs/HEAD)
 	./$< `$(CC) -dumpversion`
 
 %$(EXESUF): %.c


More information about the MPlayer-cvslog mailing list