# HG changeset patch # User diego # Date 1308744534 0 # Node ID 4dc685f18963763978518bd81205596a6fe3b2fa # Parent 6aa251adfba08dac35651ed0761098af32ab9fab 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. diff -r 6aa251adfba0 -r 4dc685f18963 Makefile --- a/Makefile Wed Jun 22 11:48:31 2011 +0000 +++ b/Makefile Wed Jun 22 12:08:54 2011 +0000 @@ -839,7 +839,7 @@ 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