[GRASS5] GRASS packaging issues

Justin Hickey jhickey at hpcc.nectec.or.th
Wed May 9 04:17:48 EDT 2001


Hi Jan

Jan-Oliver Wagner wrote:
> 
> On Mon, May 07, 2001 at 12:31:01PM +0100, Markus Neteler wrote:
> > On Mon, May 07, 2001 at 12:14:29PM +0200, Jan-Oliver Wagner wrote:
> > > - the installation routine copies several CVS directories.
> > Do you think of "grass5install.sh"? It anything else?
> > Within GRASS' Gmakefiles there are various "tar" calls, 
> > unfortunately the "exclude" parameter of tar is not portable.
> 
> the copying of CVS directories happens when executing 'make install'.
> IMO, if tar can't do the job cross-plattform it should be replaced
> by alternative methods to install. AFAIK it is unusual to use
> tar for installing anyway.

The reason tar is used is because we link everything to the front-end
module and cp was copying the executable not the link, increasing the
size of the distribution significantly. However, cp would also take the
CVS directories so that is not a good solution.

An alternative method is to generate lists of files to be copied. This
is useful, not only as solving the CVS directory problem but also
ensuring that install and uninstall do not touch any file it is not
supposed to (possible now since we use rm -rf and * to remove files). I
did not have time to implement this method when I rewrote the Makefile
but I was planning on including it in the new Makefile system.

If you want, I can write a script to remove all CVS directories but I
don't think this should go into CVS since someone could inadvertently
destroy their CVS tree.

Please let me know if you want the script.

-- 
Sincerely,

Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do.  ---Anonymous

Jazz and Trek Rule!!!
==================================================================

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list