[MPlayer-cvslog] r34890 - trunk/DOCS/tech/release.sh
reimar
subversion at mplayerhq.hu
Sun May 6 14:34:00 CEST 2012
Author: reimar
Date: Sun May 6 14:34:00 2012
New Revision: 34890
Log:
Add a preliminary release.sh file.
Added:
trunk/DOCS/tech/release.sh (contents, props changed)
Added: trunk/DOCS/tech/release.sh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/DOCS/tech/release.sh Sun May 6 14:34:00 2012 (r34890)
@@ -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/
More information about the MPlayer-cvslog
mailing list