mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
Make version.h depend on git changes
Originally committed as revision 22421 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6a53fffd77
commit
f82bf85055
1 changed files with 2 additions and 1 deletions
3
Makefile
3
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue