changeset 7019:4270ded9ddc6

[project @ 2007-10-13 01:42:20 by jwe]
author jwe
date Sat, 13 Oct 2007 01:42:21 +0000
parents fd42779a8428
children e31f12bb9194
files emacs/octave-tags emacs/octave-tags.1 examples/addtwomatrices.cc examples/celldemo.cc examples/firstmexdemo.c examples/fortdemo.cc examples/fortsub.f examples/funcdemo.cc examples/globaldemo.cc examples/hello.cc examples/helloworld.cc examples/info-emacs-info examples/info-emacs-octave-help examples/mycell.c examples/myfeval.c examples/myfevalf.f examples/myfunc.c examples/myhello.c examples/mypow2.c examples/myprop.c examples/myset.c examples/mysparse.c examples/mystring.c examples/mystruct.c examples/oregonator.cc examples/oregonator.m examples/paramdemo.cc examples/stringdemo.cc examples/structdemo.cc examples/unwinddemo.cc libcruft/mkf77def.in liboctave/mk-ops.awk liboctave/mx-ops liboctave/randgamma.c liboctave/randgamma.h liboctave/randmtzig.c liboctave/randmtzig.h liboctave/randpoisson.c liboctave/randpoisson.h liboctave/sparse-mk-ops.awk liboctave/sparse-mx-ops liboctave/vx-ops mk-opts.pl octave-bug.in scripts/mkdoc scripts/mkpkgadd src/genprops.awk src/mk-errno-list src/mk-pkg-add src/mkbuiltins src/mkdefs src/mkdocs src/mkgendoc src/mkops src/octave.gperf test/build_sparse_tests.sh
diffstat 56 files changed, 1148 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/emacs/octave-tags	Sat Oct 13 00:52:13 2007 +0000
+++ b/emacs/octave-tags	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,24 @@
 #! /bin/sh
+#
+# Copyright (C) 1998, 2002, 2003, 2006, 2007 Mario Storti
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
+
+# Author: Mario Storti <mstorti@minerva.unl.edu.ar>
 
 # Generate a TAGS file from a set of Octave .m files for use with Emacs.
 #
@@ -17,8 +37,6 @@
 # a line by yourself of the form `###key <script-name>' if you want to
 # jump to it.  :-(
 
-# Author: Mario Storti <mstorti@minerva.unl.edu.ar>
-
 etags --lang=none \
       --regex='/[ \t]*function.*=[ \t]*\([^ \t()]*\)[ \t]*(/\1/' \
       --regex='/[ \t]*function.*=[ \t]*\([^ \t()]*\)[ \t]*$/\1/' \
--- a/emacs/octave-tags.1	Sat Oct 13 00:52:13 2007 +0000
+++ b/emacs/octave-tags.1	Sat Oct 13 01:42:21 2007 +0000
@@ -1,5 +1,23 @@
-.\" Man page contributed by Dirk Eddelbuettel <edd@debian.org>
-.\" and released under the GNU GPL
+.\" Copyright (C) 2003, 2006, 2007 Dirk Eddelbuettel
+.\"
+.\" This file is part of Octave.
+.\"
+.\" Octave 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.
+.\"
+.\" Octave 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 Octave; see the file COPYING.  If not, see
+.\" <http://www.gnu.org/licenses/>.
+.\"
+.\" This page was contributed by Dirk Eddelbuettel <edd@debian.org>
+.\" 
 .TH OCTAVE-TAGS 1 "31 October 2001" "GNU Octave"
 .SH NAME
 OCTAVE-TAGS - Generate Emacs tags file from GNU Octave code
--- a/examples/addtwomatrices.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/addtwomatrices.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 
 DEFUN_DLD (addtwomatrices, args, , "Add A to B")
--- a/examples/celldemo.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/celldemo.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 #include <octave/Cell.h>
 
--- a/examples/firstmexdemo.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/firstmexdemo.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include "mex.h"
 
 void
--- a/examples/fortdemo.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/fortdemo.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 #include <octave/f77-fcn.h>
 
--- a/examples/fortsub.f	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/fortsub.f	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,21 @@
+c Copyright (C) 2007 John W. Eaton
+c 
+c This file is part of Octave.
+c 
+c Octave is free software; you can redistribute it and/or modify it
+c under the terms of the GNU General Public License as published by the
+c Free Software Foundation; either version 3 of the License, or (at your
+c option) any later version.
+c 
+c Octave is distributed in the hope that it will be useful, but WITHOUT
+c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+c FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+c for more details.
+c 
+c You should have received a copy of the GNU General Public License
+c along with Octave; see the file COPYING.  If not, see
+c <http://www.gnu.org/licenses/>.
+
       subroutine fortsub (n, a, s)
       implicit none
       character*(*) s
--- a/examples/funcdemo.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/funcdemo.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 #include <octave/parse.h>
 
--- a/examples/globaldemo.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/globaldemo.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 
 DEFUN_DLD (globaldemo, args, , "Global demo.")
--- a/examples/hello.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/hello.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 1996, 1997, 1999, 2002, 2003, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 // hello.cc -- example of a dynamically linked function for Octave.
 
 // To use this file, your version of Octave must support dynamic
--- a/examples/helloworld.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/helloworld.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 
 DEFUN_DLD (helloworld, args, nargout,
--- a/examples/info-emacs-info	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/info-emacs-info	Sat Oct 13 01:42:21 2007 +0000
@@ -1,6 +1,26 @@
 #! /bin/sh
 # info-emacs-info
+#
+# Copyright (C) 1996, 2005, 2007 Kurt Hornik
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
+
 # Written by Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> on 1996/07/01
+
 # Make Octave's `help -i' use Emacs info.
 # Requires a running Emacs and gnuserv.
 cmd="(Info-find-node \"$2\" \"Top\")"
--- a/examples/info-emacs-octave-help	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/info-emacs-octave-help	Sat Oct 13 01:42:21 2007 +0000
@@ -1,9 +1,30 @@
 #! /bin/sh
 # info-emacs-octave-help
+#
+# Copyright (C) 1996, 1997, 2005, 2007 Kurt Hornik
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
+
 # Written by KH <Kurt.Hornik@wu-wien.ac.at> on 1996/07/01
 # Updated by KH on 1997/03/04
+
 # Make Octave's `help -i' use Emacs octave-help.
 # Requires a running Emacs and gnuserv.
+
 cmd="(require 'octave-hlp)"
 if [ $3 = "--directory" ];
 then
--- a/examples/mycell.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/mycell.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include "mex.h"
 
 void
--- a/examples/myfeval.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/myfeval.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2006, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include "mex.h"
 
 void
--- a/examples/myfevalf.f	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/myfevalf.f	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,21 @@
+c Copyright (C) 2006, 2007 John W. Eaton
+c 
+c This file is part of Octave.
+c 
+c Octave is free software; you can redistribute it and/or modify it
+c under the terms of the GNU General Public License as published by the
+c Free Software Foundation; either version 3 of the License, or (at your
+c option) any later version.
+c 
+c Octave is distributed in the hope that it will be useful, but WITHOUT
+c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+c FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+c for more details.
+c 
+c You should have received a copy of the GNU General Public License
+c along with Octave; see the file COPYING.  If not, see
+c <http://www.gnu.org/licenses/>.
+
       subroutine mexFunction (nlhs, plhs, nrhs, prhs)
 
       implicit none
--- a/examples/myfunc.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/myfunc.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include "mex.h"
 
 void
--- a/examples/myhello.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/myhello.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2006, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include "mex.h"
 
 void
--- a/examples/mypow2.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/mypow2.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include "mex.h"
 
 void
--- a/examples/myprop.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/myprop.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include "mex.h"
 
 void
--- a/examples/myset.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/myset.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2006, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include "mex.h"
 
 void
--- a/examples/mysparse.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/mysparse.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2006, 2007 David Bateman
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include "mex.h"
 
 void
--- a/examples/mystring.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/mystring.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <string.h>
 #include "mex.h"
 
--- a/examples/mystruct.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/mystruct.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2006, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include "mex.h"
 
 void
--- a/examples/oregonator.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/oregonator.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 1997, 1998, 2000, 2002, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 
 DEFUN_DLD (oregonator, args, ,
--- a/examples/oregonator.m	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/oregonator.m	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,21 @@
+## Copyright (C) 1997, 1998, 2007 John W. Eaton
+##
+## This file is part of Octave.
+##
+## Octave 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.
+##
+## Octave 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 Octave; see the file COPYING.  If not, see
+## <http://www.gnu.org/licenses/>.
+
 ## The `oregonator'.
 ##
 ## Reference:
--- a/examples/paramdemo.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/paramdemo.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 
 DEFUN_DLD (paramdemo, args, nargout, "Parameter Check Demo.")
--- a/examples/stringdemo.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/stringdemo.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 
 DEFUN_DLD (stringdemo, args, , "String Demo")
--- a/examples/structdemo.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/structdemo.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 #include <octave/ov-struct.h>
 
--- a/examples/unwinddemo.cc	Sat Oct 13 00:52:13 2007 +0000
+++ b/examples/unwinddemo.cc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 #include <octave/oct.h>
 #include <octave/unwind-prot.h>
 
--- a/libcruft/mkf77def.in	Sat Oct 13 00:52:13 2007 +0000
+++ b/libcruft/mkf77def.in	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,22 @@
 #! /bin/sh
+#
+# Copyright (C) 2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 SED=${SED:-'sed'}
 AWK=${AWK:-'awk'}
--- a/liboctave/mk-ops.awk	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/mk-ops.awk	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,21 @@
+# Copyright (C) 2003, 2004, 2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
+
 BEGIN {
   declare_types = 0;
   generate_ops = 0;
--- a/liboctave/mx-ops	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/mx-ops	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,21 @@
+# Copyright (C) 2003, 2004, 2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
+
 # types
 #
 # key typename object-type header fwd-decl-ok scalar-zero core-type
--- a/liboctave/randgamma.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/randgamma.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,27 @@
-/* This code is in the public domain */
+/*
+
+Copyright (C) 2006, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
+/* Original version written by Paul Kienzle distributed as free
+   software in the in the public domain.  */
 
 /*
 
--- a/liboctave/randgamma.h	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/randgamma.h	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,27 @@
-/* This code is in the public domain */
+/*
+
+Copyright (C) 2006, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
+/* Original version written by Paul Kienzle distributed as free
+   software in the in the public domain.  */
 
 #ifndef _RANDGAMMA_H
 
@@ -21,4 +44,3 @@
 ;;; mode: C ***
 ;;; End: ***
 */
-
--- a/liboctave/randmtzig.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/randmtzig.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2006, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 /* 
    A C-program for MT19937, with initialization improved 2002/2/10.
    Coded by Takuji Nishimura and Makoto Matsumoto.
--- a/liboctave/randmtzig.h	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/randmtzig.h	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,25 @@
+/*
+
+Copyright (C) 2006, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 /* 
    A C-program for MT19937, with initialization improved 2002/2/10.
    Coded by Takuji Nishimura and Makoto Matsumoto.
--- a/liboctave/randpoisson.c	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/randpoisson.c	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,27 @@
-/* This code is in the public domain */
+/*
+
+Copyright (C) 2006, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
+/* Original version written by Paul Kienzle distributed as free
+   software in the in the public domain.  */
 
 /* Needs the following defines: 
  * NAN: value to return for Not-A-Number
--- a/liboctave/randpoisson.h	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/randpoisson.h	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,27 @@
-/* This code is in the public domain */
+/*
+
+Copyright (C) 2006, 2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
+/* Original version written by Paul Kienzle distributed as free
+   software in the in the public domain.  */
 
 #ifndef _RANDPOISSON_H
 
--- a/liboctave/sparse-mk-ops.awk	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/sparse-mk-ops.awk	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,21 @@
+# Copyright (C) 2004, 2005, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
+
 BEGIN {
   declare_types = 0;
   generate_ops = 0;
--- a/liboctave/sparse-mx-ops	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/sparse-mx-ops	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,21 @@
+# Copyright (C) 2004, 2005, 2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
+
 # types
 #
 # key typename object-type header fwd-decl-ok scalar-zero
--- a/liboctave/vx-ops	Sat Oct 13 00:52:13 2007 +0000
+++ b/liboctave/vx-ops	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,21 @@
+# Copyright (C) 2003, 2004, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
+
 # types
 ccv ComplexColumnVector V CColVector.h YES 0.0
 crv ComplexRowVector V CRowVector.h YES 0.0
--- a/mk-opts.pl	Sat Oct 13 00:52:13 2007 +0000
+++ b/mk-opts.pl	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,22 @@
 #! /usr/bin/perl
+#
+# Copyright (C) 2002, 2005, 2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 # Generate option handling code from a simpler input files for
 # Octave's functions like lsode, dassl, etc.
--- a/octave-bug.in	Sat Oct 13 00:52:13 2007 +0000
+++ b/octave-bug.in	Sat Oct 13 01:42:21 2007 +0000
@@ -1,14 +1,28 @@
 #! /bin/sh -
 #
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2004,
+#               2005, 2006 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
+
 # octave-bug - create a bug report and mail it to the bug-octave
 # mailing list.
 #
 # Patterned after the bashbug script from bash 1.14.
-#
-# John W. Eaton
-# jwe@bevo.che.wisc.edu
-# University of Wisconsin-Madison
-# Department of Chemical Engineering
 
 # Configuration:  these variables are filled in when running make to
 # compile Octave.
--- a/scripts/mkdoc	Sat Oct 13 00:52:13 2007 +0000
+++ b/scripts/mkdoc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,22 @@
 #! /bin/sh
+#
+# Copyright (C) 1999, 2002, 2005, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 set -e
 
--- a/scripts/mkpkgadd	Sat Oct 13 00:52:13 2007 +0000
+++ b/scripts/mkpkgadd	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,22 @@
 #! /bin/sh
+#
+# Copyright (C) 2002, 2003, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 if [ $# -eq 1 ]; then
   dir="$1"
--- a/src/genprops.awk	Sat Oct 13 00:52:13 2007 +0000
+++ b/src/genprops.awk	Sat Oct 13 01:42:21 2007 +0000
@@ -1,3 +1,21 @@
+## Copyright (C) 2007 John W. Eaton
+##
+## This file is part of Octave.
+## 
+## Octave 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.
+## 
+## Octave 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 Octave; see the file COPYING.  If not, see
+## <http://www.gnu.org/licenses/>.
+##
 ## This script is used to generate the graphics.h file from graphics.h.in.
 ##
 ## Lines between the BEGIN_PROPERTIES and END_PROPERTIES markers have
--- a/src/mk-errno-list	Sat Oct 13 00:52:13 2007 +0000
+++ b/src/mk-errno-list	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,22 @@
 #! /bin/sh
+#
+# Copyright (C) 2005, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 if [ $# -ne 2 ]; then
   echo "usage: get-errno-list [--perl PERL|--python PYTHON]" 1>&2
--- a/src/mk-pkg-add	Sat Oct 13 00:52:13 2007 +0000
+++ b/src/mk-pkg-add	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,22 @@
 #! /bin/sh -e
+#
+# Copyright (C) 2005, 2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 SED=${SED:-'sed'}
 
--- a/src/mkbuiltins	Sat Oct 13 00:52:13 2007 +0000
+++ b/src/mkbuiltins	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,23 @@
 #! /bin/sh
+#
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2005,
+#               2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 if test $# -ne 1; then
   echo "usage: mkbuiltins f1" 1>&2
--- a/src/mkdefs	Sat Oct 13 00:52:13 2007 +0000
+++ b/src/mkdefs	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,22 @@
 #! /bin/sh
+#
+# Copyright (C) 1996, 1999, 2000, 2003, 2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 SED=${SED:-'sed'}
 
--- a/src/mkdocs	Sat Oct 13 00:52:13 2007 +0000
+++ b/src/mkdocs	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,22 @@
 #! /bin/sh
+#
+# Copyright (C) 1999, 2003, 2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 SED=${SED:-'sed'}
 
--- a/src/mkgendoc	Sat Oct 13 00:52:13 2007 +0000
+++ b/src/mkgendoc	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,22 @@
 #! /bin/sh
+#
+# Copyright (C) 1999, 2000, 2002, 2003, 2005, 2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 SED=${SED:-'sed'}
 
--- a/src/mkops	Sat Oct 13 00:52:13 2007 +0000
+++ b/src/mkops	Sat Oct 13 01:42:21 2007 +0000
@@ -1,4 +1,22 @@
 #! /bin/sh
+#
+# Copyright (C) 1997, 1998, 2003, 2006, 2007 John W. Eaton
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 SED=${SED:-'sed'}
 
--- a/src/octave.gperf	Sat Oct 13 00:52:13 2007 +0000
+++ b/src/octave.gperf	Sat Oct 13 01:42:21 2007 +0000
@@ -1,5 +1,28 @@
 %{
 
+/*
+
+Copyright (C) 1995, 1997, 1998, 2000, 2002, 2004, 2005, 2006,
+              2007 John W. Eaton
+
+This file is part of Octave.
+
+Octave 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.
+
+Octave 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 Octave; see the file COPYING.  If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
 enum octave_kw_id
 {
   break_kw,
--- a/test/build_sparse_tests.sh	Sat Oct 13 00:52:13 2007 +0000
+++ b/test/build_sparse_tests.sh	Sat Oct 13 01:42:21 2007 +0000
@@ -1,5 +1,23 @@
 #!/bin/sh
 
+# Copyright (C) 2006, 2007 David Bateman
+#
+# This file is part of Octave.
+# 
+# Octave 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.
+# 
+# Octave 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 Octave; see the file COPYING.  If not, see
+# <http://www.gnu.org/licenses/>.
+
 # Some tests are commented out because they are known to be broken!
 # Search for "# fails"