comparison DOCS/tech/release.sh @ 34802:0743fc227f05

Add a preliminary release.sh file.
author reimar
date Sun, 06 May 2012 12:34:00 +0000
parents
children 2f751a18aaac
comparison
equal deleted inserted replaced
34801:d8ab83aa014b 34802:0743fc227f05
1 #!/bin/bash
2 # will create checkouts and tarballs in the current dir
3 ver=1.1
4 dst=MPlayer-$ver
5 svnurl=svn://svn.mplayerhq.hu/mplayer/trunk
6 #svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver
7
8 rm -rf $dst/ $dst-DOCS/
9
10 svn export svn://svn.mplayerhq.hu/mplayer/trunk $dst/
11 echo $ver > $dst/VERSION
12
13 # create HTML docs
14 cp -a $dst/ $dst-DOCS/
15 pushd $dst-DOCS/
16 mkdir -p ffmpeg/libavutil
17 ./configure --yasm='' --language=all
18 make html-chunked
19 popd
20 mv $dst-DOCS/DOCS/HTML $dst/DOCS
21 rm -rf $dst-DOCS/
22
23 # git archive unfortunately is refused
24 git clone --depth 1 git://git.videolan.org/ffmpeg.git $dst/ffmpeg
25 rm -rf $dst/ffmpeg/.git*
26
27 tar --owner=0 --group=0 -cjf $dst.tar.bz2 $dst/