[GRASS5] automatic build script

Andreas Lange Andreas.Lange at Rhein-Main.de
Fri Jan 11 12:40:50 EST 2002


Hi,

i have written a short script to automate downloading of the sources,
configure'ing, make'ing and uploading the final binary distribution to a
server in pub/incoming. 
I'll check the script into CVS under tools later. This should work from
a crontab entry, but it does not compile like outlined in the compile
instructions (first building wihtout postgresql support, then compiling
nviz separately, then ...). 

I have the following changes, which i want to ask your opinion:
- adding a strip target to the Makefile.in
(will be done with find . -type f -exec strip {} \;, as we do not use
install to copy the binaries, this may corrupt all files if you have an
unusual setup, eg. GNU gcc strip in path before system strip, but using
system compiler)
- adding a new target install-strip (this conforms to the usual GNU
targets)
- changing the name of the grass5install.sh script to
grass5_${ARCH}_install.sh, so that it is not overwritten on uploading
different builds and does not conflict with other files on the anon ftp
server. It will be possible to see to which binary tarball the script
belongs. 

Another problem is that the name of the source file changes for each
release/CVS snapshot, but the old files are not preserved. This breaks
all scripted builds, e. g. from FreeBSD ports (which does not work
anymore, because the baylor ftp server is down (no route to host)). No
idea how to solve this.

Andreas

-- 
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
url: http://mitglied.tripod.de/AndreasLange
mail: Andreas.Lange_at_Rhein-Main.de - A.C.Lange_at_GMX.net



More information about the grass-dev mailing list