--- gforth/BUILD-FROM-SCRATCH 2000/06/10 21:10:50 1.2 +++ gforth/BUILD-FROM-SCRATCH 2008/07/15 16:11:49 1.28 @@ -1,38 +1,33 @@ # Procedures to build gforth from the CVS sources -# created: 2may00jaw - -# To build gforth from scratch you need autoconf and automake. -# This file can be used as shell script. If you make the environment -# variable GFORTH point to an existing gforth installation, this -# script takes over kernel and primitve files. - -# try to guess a previous version of Gforth -if [ "$GFORTH" == "" ] -then - GFORTH=`which gforth` -fi +#use this with parameters and env variables like "configure" -# makes a aclocal.m4 which includes the automake macros for autconf +#Copyright (C) 2000,2002,2003,2006,2007,2008 Free Software Foundation, Inc. -aclocal +#This file is part of Gforth. -# generate configure script +#Gforth 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 3 +#of the License, or (at your option) any later version. -autoconf +#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. -# generate header files like engine/config.h.in +#You should have received a copy of the GNU General Public License +#along with this program. If not, see http://www.gnu.org/licenses/. -autoheader -# run configure script - -./configure $* +# created: 2may00jaw -# if you have specified a previous Gforth, you can savely run make now -# with FORTHK and FORTHP changed appropriate. +# To build gforth from scratch you need autoconf, automake and a +# gforth-0.6.2 -if [ "$GFORTH" != "" ] -then - make FORTHK="$GFORTH" -fi +./autogen.sh && +./configure "$@" && +echo Running: make && +make && +make doc && +make more