Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/maintainer-scripts/gcc_release

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1212# Copyright (c) 2001, 2002 Free Software Foundation.
    1313#
    14 # This file is part of GNU CC.
    15 #
    16 # GNU CC is free software; you can redistribute it and/or modify
     14# This file is part of GCC.
     15#
     16# GCC is free software; you can redistribute it and/or modify
    1717# it under the terms of the GNU General Public License as published by
    1818# the Free Software Foundation; either version 2, or (at your option)
    1919# any later version.
    2020#
    21 # GNU CC is distributed in the hope that it will be useful,
     21# GCC is distributed in the hope that it will be useful,
    2222# but WITHOUT ANY WARRANTY; without even the implied warranty of
    2323# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    2525#
    2626# You should have received a copy of the GNU General Public License
    27 # along with GNU CC; see the file COPYING.  If not, write to
     27# along with GCC; see the file COPYING.  If not, write to
    2828# the Free Software Foundation, 59 Temple Place - Suite 330,
    2929# Boston, MA 02111-1307, USA.
     
    127127    done
    128128
    129     # Update `gcc/version.c'.  There are other version files
    130     # as well, which should have release status updated.
     129    # Update `gcc/version.c'.
    131130    for x in gcc/version.c; do
    132131      y=`basename ${x}`
    133132      (changedir `dirname ${SOURCE_DIRECTORY}/${x}` && \
    134           sed -e 's|= \".*\"|= \"'${RELEASE}'\"|g' < ${y} > ${y}.new && \
    135           mv ${y}.new ${y} && \
    136           ${CVS} ci -m 'Update version' ${y}) || \
    137           error "Could not update ${x}"
    138     done
    139     for x in gcc/ada/gnatvsn.ads gcc/f/version.c libf2c/libF77/Version.c \
    140              libf2c/libI77/Version.c libf2c/libU77/Version.c; do
    141       y=`basename ${x}`
    142       (changedir `dirname ${SOURCE_DIRECTORY}/${x}` && \
    143           sed -e 's/experimental\|prerelease/release/g' < ${y} > ${y}.new && \
     133          sed -e 's|version_string\[\] = \".*\"|version_string\[\] = \"'${RELEASE}'\"|g' < ${y} > ${y}.new && \
    144134          mv ${y}.new ${y} && \
    145135          ${CVS} ci -m 'Update version' ${y}) || \
     
    175165  inform "Retrieving HTML documentation"
    176166  changedir "${WORKING_DIRECTORY}"
    177   for x in bugs gnats faq; do
     167  for x in bugs faq; do
    178168    (${CVS} export -r HEAD wwwdocs/htdocs/${x}.html && \
    179169     cp ${WORKING_DIRECTORY}/wwwdocs/htdocs/${x}.html \
     
    189179       | sed -e "s#file://localhost`/bin/pwd`\(.*\)#http://gcc.gnu.org\1#g" \
    190180       > $newfile) || \
    191      error "Could not regenerate documentation"
     181     error "Could not "
    192182  done
    193183
     
    303293    old_tar=${old_dir}/${f}-${old_vers}.tar.gz
    304294    new_tar=${WORKING_DIRECTORY}/${f}-${RELEASE}.tar.gz
    305     if [ -e $old_tar ] && [ -e $new_tar ]; then
     295    if [ ! -e $old_tar ]; then
     296      inform "$old_tar not found; not generating diff file"
     297    elif [ ! -e $new_tar ]; then
     298      inform "$new_tar not found; not generating diff file"
     299    else
    306300      build_diff $old_tar gcc-${old_vers} $new_tar gcc-${RELEASE} \
    307301        ${f}-${old_vers}-${RELEASE}.diff.gz
     
    337331  # Make sure the directory exists on the server.
    338332  if [ $LOCAL -eq 0 ]; then
    339     ${SSH} -l ${GCC_USERNAME} ${GCC_HOSTNAME} mkdir ${FTP_PATH}
     333    ${SSH} -l ${GCC_USERNAME} ${GCC_HOSTNAME} \
     334      mkdir -p "${FTP_PATH}/diffs"
    340335    UPLOAD_PATH="${GCC_USERNAME}@${GCC_HOSTNAME}:${FTP_PATH}"
    341336  else
    342     mkdir -p "${FTP_PATH}" \
     337    mkdir -p "${FTP_PATH}" \
    343338      || error "Could not create \`${FTP_PATH}'"
    344339    UPLOAD_PATH=${FTP_PATH}
    345340  fi
    346341
     342
    347343  for x in gcc*.gz gcc*.bz2; do
    348344    if [ -e ${x} ]; then
     
    350346      chmod a+r ${x}
    351347      # Copy it.
    352       if [ $LOCAL -eq 0 ]; then
    353         ${SCP} ${x} ${UPLOAD_PATH} || error "Could not upload ${x}"
    354       fi
     348      case ${x} in
     349        *.diff.*)
     350          SUBDIR="diffs/";
     351          ;;
     352        *)
     353          SUBDIR="";
     354      esac
     355      ${SCP} ${x} ${UPLOAD_PATH}/${SUBDIR} \
     356        || error "Could not upload ${x}"
    355357    fi
    356358  done
     
    514516  if [ ${FINAL} -ne 1 ]; then
    515517    RELEASE="${RELEASE}-${DATE}"
    516     FTP_PATH="${FTP_PATH}/snapshots/"
     518    FTP_PATH="${FTP_PATH}//"
    517519  else
    518520    FTP_PATH="${FTP_PATH}/releases/gcc-${RELEASE}/"
     
    520522else
    521523  RELEASE=$DATE
    522   # For now snapshots come from the 3.1 branch.
    523   BRANCH=gcc-3_1-branch
     524  # For now snapshots come from the .
     525  BRANCH=
    524526  FTP_PATH="${FTP_PATH}/snapshots/${LONG_DATE}"
    525527  TAG=gcc_ss_${DATE}
     
    573575    tarfiles) MODE_TARFILES=1;;
    574576    upload)   MODE_UPLOAD=1;;
    575     all)      MODE_SOURCES=1; MODE_TARFILES=1; MODE_DIFFS=1; MODE_BZIP2=1; MODE_UPLOAD=1;;
     577    all)      MODE_SOURCES=1; MODE_TARFILES=1; MODE_DIFFS=1; MODE_UPLOAD=1;
     578              if [ $SNAPSHOT -ne 1 ]; then
     579                # Only for releases and pre-releases.
     580                MODE_BZIP2=1;
     581              fi
     582              ;;
    576583    *)        error "Unknown mode $1";;
    577584    esac
     
    633640    echo $DATE >.snapshot_date
    634641
    635     # Update gcc_latest_snapshot tag.
    636     ${CVS} rtag -d gcc_latest_snapshot gcc
    637     ${CVS} rtag -rgcc_ss_${DATE} gcc_latest_snapshot gcc
    638 
    639642    # Announce the snapshot.
    640643    export QMAILHOST=gcc.gnu.org
Note: See TracChangeset for help on using the changeset viewer.