1*7e568061Sespie#! /bin/sh 2*7e568061Sespie# 3*7e568061Sespie# Script to generate the NEWS file from online release notes. 4*7e568061Sespie# Contributed by Joseph Myers <jsm28@cam.ac.uk>. 5*7e568061Sespie# 6*7e568061Sespie# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. 7*7e568061Sespie# This file is part of GNU CC. 8*7e568061Sespie# 9*7e568061Sespie# GNU CC is free software; you can redistribute it and/or modify 10*7e568061Sespie# it under the terms of the GNU General Public License as published by 11*7e568061Sespie# the Free Software Foundation; either version 2, or (at your option) 12*7e568061Sespie# any later version. 13*7e568061Sespie# 14*7e568061Sespie# GNU CC is distributed in the hope that it will be useful, 15*7e568061Sespie# but WITHOUT ANY WARRANTY; without even the implied warranty of 16*7e568061Sespie# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*7e568061Sespie# GNU General Public License for more details. 18*7e568061Sespie# 19*7e568061Sespie# You should have received a copy of the GNU General Public License 20*7e568061Sespie# along with GNU CC; see the file COPYING. If not, write to 21*7e568061Sespie# the Free Software Foundation, 59 Temple Place - Suite 330, 22*7e568061Sespie# Boston, MA 02111-1307, USA. 23*7e568061Sespie 24*7e568061Sespiewebsite=http://gcc.gnu.org/ 25*7e568061Sespiefiles="gcc-3.3/index.html gcc-3.3/changes.html 26*7e568061Sespie gcc-3.2/index.html gcc-3.2/changes.html 27*7e568061Sespie gcc-3.1/index.html gcc-3.1/changes.html 28*7e568061Sespie gcc-3.0/gcc-3.0.html gcc-3.0/features.html gcc-3.0/caveats.html 29*7e568061Sespie gcc-2.95/index.html gcc-2.95/features.html gcc-2.95/caveats.html 30*7e568061Sespie egcs-1.1/index.html egcs-1.1/features.html egcs-1.1/caveats.html 31*7e568061Sespie egcs-1.0/egcs-1.0.3.html egcs-1.0/egcs-1.0.2.html egcs-1.0/egcs-1.0.1.html 32*7e568061Sespie egcs-1.0/egcs-1.0.html egcs-1.0/features.html egcs-1.0/caveats.html" 33*7e568061Sespie 34*7e568061Sespieset -e 35*7e568061Sespie 36*7e568061Sespiecat <<EOF 37*7e568061SespieThis file contains information about GCC releases which has been generated 38*7e568061Sespieautomatically from the online release notes. It covers releases of GCC 39*7e568061Sespie(and the former EGCS project) since EGCS 1.0, on the line of development 40*7e568061Sespiethat led to GCC 3. For information on GCC 2.8.1 and older releases of GCC 2, 41*7e568061Sespiesee ONEWS. 42*7e568061Sespie 43*7e568061SespieEOF 44*7e568061Sespie 45*7e568061Sespieheader="======================================================================" 46*7e568061Sespie 47*7e568061Sespieecho $header 48*7e568061Sespie 49*7e568061Sespiefor file in $files; do 50*7e568061Sespie wfile=$website$file 51*7e568061Sespie echo $wfile 52*7e568061Sespie # We lie to Lynx about the kind of terminal in use because we 53*7e568061Sespie # want to get consistent output everywhere, and we want this 54*7e568061Sespie # script to work even when it is not run interactively. 55*7e568061Sespie env TERM=vt100 lynx -dump $wfile 56*7e568061Sespie echo $header 57*7e568061Sespiedone 58