[SCM] libav/experimental: Make version.h depend on git changes

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:03:59 UTC 2013


The following commit has been merged in the experimental branch:
commit f82bf85055b55df01aaeabcc53b2b9f9e039ccbb
Author: Måns Rullgård <mans at mansr.com>
Date:   Wed Mar 10 02:56:59 2010 +0000

    Make version.h depend on git changes
    
    Originally committed as revision 22421 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/Makefile b/Makefile
index 2c046ea..e5e4a87 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:

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list