Mercurial > mplayer.hg
changeset 34802:0743fc227f05
Add a preliminary release.sh file.
author | reimar |
---|---|
date | Sun, 06 May 2012 12:34:00 +0000 |
parents | d8ab83aa014b |
children | 2f751a18aaac |
files | DOCS/tech/release.sh |
diffstat | 1 files changed, 27 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/tech/release.sh Sun May 06 12:34:00 2012 +0000 @@ -0,0 +1,27 @@ +#!/bin/bash +# will create checkouts and tarballs in the current dir +ver=1.1 +dst=MPlayer-$ver +svnurl=svn://svn.mplayerhq.hu/mplayer/trunk +#svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver + +rm -rf $dst/ $dst-DOCS/ + +svn export svn://svn.mplayerhq.hu/mplayer/trunk $dst/ +echo $ver > $dst/VERSION + +# create HTML docs +cp -a $dst/ $dst-DOCS/ +pushd $dst-DOCS/ +mkdir -p ffmpeg/libavutil +./configure --yasm='' --language=all +make html-chunked +popd +mv $dst-DOCS/DOCS/HTML $dst/DOCS +rm -rf $dst-DOCS/ + +# git archive unfortunately is refused +git clone --depth 1 git://git.videolan.org/ffmpeg.git $dst/ffmpeg +rm -rf $dst/ffmpeg/.git* + +tar --owner=0 --group=0 -cjf $dst.tar.bz2 $dst/