aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-10 02:56:59 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-10 02:56:59 +0000
commitf82bf85055b55df01aaeabcc53b2b9f9e039ccbb (patch)
treeafbf4d4d6cdd355c34d432bbc7fe1716a9061284
parent6a53fffd77b3b89d33159126659c07529e391e5b (diff)
downloadffmpeg-f82bf85055b55df01aaeabcc53b2b9f9e039ccbb.tar.gz
Make version.h depend on git changes
Originally committed as revision 22421 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2c046ea8fb..e5e4a87423 100644
--- a/Makefile
+++ b/Makefile
@@ -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: