OSDN Git Service

Improve version.h generation
authorMåns Rullgård <mans@mansr.com>
Wed, 10 Mar 2010 02:56:56 +0000 (02:56 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 10 Mar 2010 02:56:56 +0000 (02:56 +0000)
commit6a53fffd77b3b89d33159126659c07529e391e5b
tree5d8169c62aeb9cc02754b66e4e3df2399edec103
parent93bff1de770e95c79bcf2ec794d05ef6b64ec7af
Improve version.h generation

Force version.sh to run whenever the version might have changed,
regardless of what is being built.  This is done by attaching the
dependencies to a dummy file (.version) which is included from the
makefile.  As make will always attempt to rebuild any included files
before considering other rules, this ensures that the real version.h
is (re-)created before it is required by any source file.

Originally committed as revision 22420 to svn://svn.ffmpeg.org/ffmpeg/trunk
Makefile
common.mak