[Ffmpeg-devel] [PATCH] Show SVN revision number in version output

İsmail Dönmez ismail
Tue Jun 20 00:02:20 CEST 2006


Sal? 20 Haziran 2006 00:12 tarihinde, ?smail D?nmez ?unlar? yazm??t?: 
> Hi,
>
> Other thread dive into the merits of using svnversion hence a new fresh
> thread here , this time using Makefile approach as configure might not
> change with every commit hence might not run. This version uses svnversion
> and only slow for the first run, so its neglectible slowdown.

Mans pointed out that svnversion prints "exported" when there is no .svn 
directory. So I added a version.sh script which takes care of it and prints 
HEAD for version when .svn directory is missing. Also it takes care if 
svnversion command is missing.

As usual comments welcome.

Regards,
ismail

-- 
???anime???? 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-version-makefile.patch
Type: text/x-diff
Size: 2765 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060620/34c95e93/attachment.patch>



More information about the ffmpeg-devel mailing list