annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34802
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
1 #!/bin/bash
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
2 # will create checkouts and tarballs in the current dir
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
3 ver=1.1
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
4 dst=MPlayer-$ver
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
5 svnurl=svn://svn.mplayerhq.hu/mplayer/trunk
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
6 #svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
7
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
8 rm -rf $dst/ $dst-DOCS/
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
9
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
10 svn export svn://svn.mplayerhq.hu/mplayer/trunk $dst/
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
11 echo $ver > $dst/VERSION
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
12
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
13 # create HTML docs
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
14 cp -a $dst/ $dst-DOCS/
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
15 pushd $dst-DOCS/
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
16 mkdir -p ffmpeg/libavutil
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
17 ./configure --yasm='' --language=all
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
18 make html-chunked
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
19 popd
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
20 mv $dst-DOCS/DOCS/HTML $dst/DOCS
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
21 rm -rf $dst-DOCS/
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
22
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
23 # git archive unfortunately is refused
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
24 git clone --depth 1 git://git.videolan.org/ffmpeg.git $dst/ffmpeg
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
25 rm -rf $dst/ffmpeg/.git*
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
26
0743fc227f05 Add a preliminary release.sh file.
reimar
parents:
diff changeset
27 tar --owner=0 --group=0 -cjf $dst.tar.bz2 $dst/