Mercurial > mplayer.hg
diff Makefile @ 33612:4dc685f18963
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.
author | diego |
---|---|
date | Wed, 22 Jun 2011 12:08:54 +0000 |
parents | a39c61198f93 |
children | 9793c290a04b |
line wrap: on
line diff
--- 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