ChangeSet ID: 27584 CVSROOT: /opt/cvs-commit Module name: tools Changes by: julliard@winehq.org 2006/08/23 08:41:57
Removed files: . : winedoc_release wine_release
Log message: Moved the release scripts to the git repository.
Patch: http://cvs.winehq.org/patch.py?id=27584
Old revision New revision Changes Path 1.5 Removed +0 -0 tools/winedoc_release 1.18 Removed +0 -0 tools/wine_release
Index: tools/winedoc_release diff -u -p tools/winedoc_release:1.5 /dev/null --- tools/winedoc_release 23 Aug 2006 13:41:57 -0000 +++ /dev/null 23 Aug 2006 13:41:57 -0000 @@ -1,80 +0,0 @@ -#!/bin/sh - -# This script is ran after a new release of Wine. It updates the website -# and FTP for the new wine release. - -# usage: winedoc_release <winedoc version> - -set -e - -if [ $# -lt 1 ] -then - echo "Usage: $0 version|cvs" - exit 1 -fi - -version=$1 - -# nuke old attempt (if any) -rm -rf wine-docs-$version - -if [ "$version" = "cvs" ] -then - cvs -z9 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/wine co -d wine-docs-cvs docs -else - if [ -f wine-docs-$version.tar.bz2 ] - then - echo "Already have Wine docs, skipping download" - else - ncftpget ftp://ibiblio.org/pub/linux/system/emulators/wine/wine-docs-$version.tar.bz2 - fi - tar xfj wine-docs-$version.tar.bz2 - rm wine-docs-$version.tar.bz2 -fi - -echo "==== BUILDING SGML DOCUMENTATION ====" - -books="wineusr-guide winedev-guide winelib-guide wine-faq" -langs="en" -site_base_dir="/home/winehq/opt/lostwages" -guides_base_dir="$site_base_dir/docs" -winehq_base_dir="$site_base_dir/templates" - -cd wine-docs-$version - -for lang in $langs -do - [ -d $guides_base_dir/$lang ] || mkdir $guides_base_dir/$lang - [ -d $winehq_base_dir/$lang/docs ] || mkdir $winehq_base_dir/$lang/docs - cp ../winedoc.css $guides_base_dir/$lang - - cd $lang - for book in $books - do - echo "* $book" - - # build guides as single files (only for releases) - if [ "$version" != "cvs" ] - then - docbook2html -u -d ../../winehtml.dsl $book.sgml - docbook2pdf -d ../../wineprint.dsl $book.sgml - docbook2ps -d ../../wineprint.dsl $book.sgml - mv $book.html $book.pdf $book.ps $guides_base_dir/$lang - fi - - # build the online html version - docbook2html -d ../../winehtml.dsl -o $book.web $book.sgml - [ -d $winehq_base_dir/$lang/docs/$book ] || mkdir $winehq_base_dir/$lang/docs/$book - for f in $book.web/*.htm - do - ../../html2template -i $f -o $winehq_base_dir/$lang/docs/$book/`basename $f .htm`.template - done - rm -rf $book.web - done - cd .. -done - -cd .. -rm -rf wine-docs-$version - -# end Index: tools/wine_release diff -u -p tools/wine_release:1.18 /dev/null --- tools/wine_release 23 Aug 2006 13:41:57 -0000 +++ /dev/null 23 Aug 2006 13:41:57 -0000 @@ -1,87 +0,0 @@ -#!/bin/sh - -# This script is ran after a new release of Wine. It updates the website -# and FTP for the new wine release. - -# usage: wine_release <old version> <new version> - -set -e - -if [ $# -lt 2 ] -then - echo "Usage: $0 oldver newver" - exit 1 -fi - -oldver=$1 -version=$2 - -# nuke old attempt (if any) -rm -rf wine-$version - -git clone -l -n git/wine.git wine-$version -(cd wine-$version && git checkout -b dummy wine-$version) - -# move wine link -rm -f wine -ln -s wine-$version wine - -# make cross reference database for LXR -# note that we must have write permission in this directory -echo "==== UPDATING LXR ====" -cd db -rm -rf wine-$version -mkdir wine-$version -cd wine-$version -../../bin/genxref ../../wine-$version -chmod +r fileidx xref - -# make Glimpse index -##glimpseindex -n -H . ../../wine-$version -##chmod +r .glimpse* -cd ../.. - -(echo "wine-$version"; cat wine-versions) | uniq > wine-versions.new && mv wine-versions.new wine-versions - -# update man page and documentation -echo "==== UPDATING DOCUMENTATION ====" -cd wine-$version -./configure - -manpages="\ - loader/wine.man \ - server/wineserver.man \ - tools/winemaker.man \ - tools/widl/widl.man \ - tools/winebuild/winebuild.man \ - tools/winedump/winedump.man \ - tools/winegcc/winegcc.man \ - tools/wmc/wmc.man \ - tools/wrc/wrc.man" - -for f in $manpages -do - name=`basename $f .man` - make -C `dirname $f` $name.man - nroff -man $f | ../bin/man2html | ../html2template -o /home/winehq/opt/lostwages/templates/en/docs/$name.template -done - -git diff --stat wine-$oldver wine-$version >../ds$version.txt - -make htmlpages && rm -rf ../WineAPI && mv documentation/html ../WineAPI - -# Wine API Stats -echo "==== UPDATING WINE API STATS PAGE ====" -./tools/winapi/winapi_extract --pseudo-stub-statistics --no-verbose --no-progress > winapi_stats.txt -../winapi_stats.php > /home/winehq/opt/lostwages/templates/en/winapi_stats.template -rm -f winapi_stats.txt - -# cleanup source tree -make distclean -rm -rf .git - -# homepage announcement -# edit the homepage to announce the new release... -# TODO - -# end