octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eliminating start-up message for non-interactive sessions


From: John W. Eaton
Subject: Re: eliminating start-up message for non-interactive sessions
Date: Thu, 22 Jan 2015 11:48:40 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0

On 01/21/2015 04:49 PM, Daniel J Sebald wrote:

The warranty got me to wondering.  Maybe it would be convenient to have
a "make warranty" which runs a simple program that searches the source
tree making sure that each file has a warranty notice, and matches that
of some canonical warranty in the source tree somewhere.  One could
change the canonical version of the warranty, then run "make warranty"
and all files would have, for example YYYY-2013 changed to YYYY-2015. It
could be a C program compiled with "make" or even an Octave script used
after Octave is compiled.  So, if the warranty is to change with a new
year or whatever, change the canonical version, run "make warranty", and
then all the file changes will show up in Mercurial before committing
the changes.

Take a look at the build-aux/update-copyright script that is part of gnulib. It might require some modification to work with Octave's copyright notices, but it would be a good starting point.

Gnulib also provides some other tools for keeping things consistent in source files. Take a look at the top-level Makefile and top/maint.mk files in the gnulib sources. I have no objection to using similar things for Octave.

jwe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]