2000-12-05 00:03:07 +01:00
|
|
|
#! /bin/sh
|
|
|
|
#
|
|
|
|
# Script to generate the NEWS file from online release notes.
|
|
|
|
# Contributed by Joseph Myers <jsm28@cam.ac.uk>.
|
|
|
|
#
|
2005-04-17 13:19:23 +02:00
|
|
|
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
2003-05-23 18:20:44 +02:00
|
|
|
# This file is part of GCC.
|
2000-12-05 00:03:07 +01:00
|
|
|
#
|
2003-05-23 18:20:44 +02:00
|
|
|
# GCC is free software; you can redistribute it and/or modify
|
2000-12-05 00:03:07 +01:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
# any later version.
|
|
|
|
#
|
2003-05-23 18:20:44 +02:00
|
|
|
# GCC is distributed in the hope that it will be useful,
|
2000-12-05 00:03:07 +01:00
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2003-05-23 18:20:44 +02:00
|
|
|
# along with GCC; see the file COPYING. If not, write to
|
2005-08-15 02:41:31 +02:00
|
|
|
# the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
|
|
# Boston, MA 02110-1301, USA.
|
2000-12-05 00:03:07 +01:00
|
|
|
|
|
|
|
website=http://gcc.gnu.org/
|
2006-02-28 09:10:09 +01:00
|
|
|
files="gcc-4.1/index.html gcc-4.1/changes.html
|
|
|
|
gcc-4.0/index.html gcc-4.0/changes.html
|
2005-04-17 13:19:23 +02:00
|
|
|
gcc-3.4/index.html gcc-3.4/changes.html
|
2004-05-15 11:50:58 +02:00
|
|
|
gcc-3.3/index.html gcc-3.3/changes.html
|
2003-10-16 21:18:52 +02:00
|
|
|
gcc-3.2/index.html gcc-3.2/changes.html
|
2002-08-14 10:35:37 +02:00
|
|
|
gcc-3.1/index.html gcc-3.1/changes.html
|
2002-07-25 16:34:56 +02:00
|
|
|
gcc-3.0/gcc-3.0.html gcc-3.0/features.html gcc-3.0/caveats.html
|
2002-01-26 00:27:45 +01:00
|
|
|
gcc-2.95/index.html gcc-2.95/features.html gcc-2.95/caveats.html
|
|
|
|
egcs-1.1/index.html egcs-1.1/features.html egcs-1.1/caveats.html
|
2005-06-05 22:35:21 +02:00
|
|
|
egcs-1.0/index.html egcs-1.0/features.html egcs-1.0/caveats.html"
|
2000-12-05 00:03:07 +01:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cat <<EOF
|
2002-07-25 16:34:56 +02:00
|
|
|
This file contains information about GCC releases which has been generated
|
|
|
|
automatically from the online release notes. It covers releases of GCC
|
|
|
|
(and the former EGCS project) since EGCS 1.0, on the line of development
|
|
|
|
that led to GCC 3. For information on GCC 2.8.1 and older releases of GCC 2,
|
|
|
|
see ONEWS.
|
2000-12-05 00:03:07 +01:00
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
header="======================================================================"
|
|
|
|
|
|
|
|
echo $header
|
|
|
|
|
|
|
|
for file in $files; do
|
|
|
|
wfile=$website$file
|
|
|
|
echo $wfile
|
2001-06-13 20:37:16 +02:00
|
|
|
# We lie to Lynx about the kind of terminal in use because we
|
|
|
|
# want to get consistent output everywhere, and we want this
|
|
|
|
# script to work even when it is not run interactively.
|
|
|
|
env TERM=vt100 lynx -dump $wfile
|
2000-12-05 00:03:07 +01:00
|
|
|
echo $header
|
|
|
|
done
|