diff --git a/ChangeLog b/ChangeLog index d8baf03db..a5660e0db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2001-07-05 OKUJI Yoshinori + + * configure.in (AM_INIT_AUTOMAKE): Set the version number to + 0.90. + +2001-07-05 OKUJI Yoshinori + + Ughh! I forgot to add this file to the CVS. + + * docs/compile: New file. + 2001-07-05 OKUJI Yoshinori * docs/grub.texi: Updated. @@ -11,6 +22,12 @@ 2001-07-04 OKUJI Yoshinori + * stage2/compile: New file. + * docs/mdate-sh: Likewise. + * docs/texinfo.tex: Likewise. + * compile: Removed. + * mdate-sh: Likewise. + * texinfo.tex: Likewise. * config.guess: Updated from automake-1.4h. * config.sub: Likewise. * depcomp: Likewise. diff --git a/configure b/configure index 0c93d71ce..d50bae222 100644 --- a/configure +++ b/configure @@ -897,7 +897,7 @@ fi # Define the identity of the package. PACKAGE=grub -VERSION=0.5.97 +VERSION=0.90 cat >> confdefs.h <. +# +# This program is free software; you can redistribute it and/or modify +# 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. +# +# This program is distributed in the hope that it will be useful, +# 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 +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# Usage: +# compile PROGRAM [ARGS]... +# `-o FOO.o' is removed from the args passed to the actual compile. + +prog=$1 +shift + +ofile= +cfile= +args= +while test $# -gt 0; do + case "$1" in + -o) + ofile=$2 + shift + ;; + *.c) + cfile=$1 + args="$args $1" + ;; + *) + args="$args $1" + ;; + esac + shift +done + +test -z "$ofile" && { + echo "compile: no \`-o' option seen" 1>&2 + exit 1 +} + +test -z "$cfile" && { + echo "compile: no \`.c' file seen" 1>&2 + exit 1 +} + +# Name of file we expect compiler to create. +cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'` + +# Create the lock directory. +lockdir=`echo $ofile | sed -e 's|/|_|g'` +while true; do + if mkdir $lockdir > /dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir $lockdir; exit 1" 1 2 15 + +# Run the compile. +"$prog" $args +status=$? + +if test -f "$cofile"; then + mv "$cofile" "$ofile" +fi + +rmdir $lockdir +exit $status diff --git a/docs/grub-install.8 b/docs/grub-install.8 index bf77ae192..6428978f9 100644 --- a/docs/grub-install.8 +++ b/docs/grub-install.8 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23. -.TH GRUB-INSTALL "8" "July 2001" "grub-install (GNU GRUB 0.5.97)" FSF +.TH GRUB-INSTALL "8" "July 2001" "grub-install (GNU GRUB 0.90)" FSF .SH NAME grub-install \- install GRUB on your drive .SH SYNOPSIS diff --git a/docs/grub.8 b/docs/grub.8 index 15b0f7124..b03f6e26c 100644 --- a/docs/grub.8 +++ b/docs/grub.8 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23. -.TH GRUB "8" "July 2001" "grub (GNU GRUB 0.5.97)" FSF +.TH GRUB "8" "July 2001" "grub (GNU GRUB 0.90)" FSF .SH NAME grub \- the grub shell .SH SYNOPSIS diff --git a/docs/mbchk.1 b/docs/mbchk.1 index 74504f30f..149fc2f85 100644 --- a/docs/mbchk.1 +++ b/docs/mbchk.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23. -.TH MBCHK "1" "July 2001" "mbchk (GNU GRUB 0.5.97)" FSF +.TH MBCHK "1" "July 2001" "mbchk (GNU GRUB 0.90)" FSF .SH NAME mbchk \- check the format of a Multiboot kernel .SH SYNOPSIS diff --git a/docs/stamp-vti b/docs/stamp-vti index ed811fa5e..f86e94aa3 100644 --- a/docs/stamp-vti +++ b/docs/stamp-vti @@ -1,4 +1,4 @@ @set UPDATED 5 July 2001 @set UPDATED-MONTH July 2001 -@set EDITION 0.5.97 -@set VERSION 0.5.97 +@set EDITION 0.90 +@set VERSION 0.90 diff --git a/docs/version.texi b/docs/version.texi index ed811fa5e..f86e94aa3 100644 --- a/docs/version.texi +++ b/docs/version.texi @@ -1,4 +1,4 @@ @set UPDATED 5 July 2001 @set UPDATED-MONTH July 2001 -@set EDITION 0.5.97 -@set VERSION 0.5.97 +@set EDITION 0.90 +@set VERSION 0.90