[GRASS-dev] Make files for g.extension

John A Stevenson john.stevenson at manchester.ac.uk
Mon Nov 23 09:30:02 EST 2009

Markus Neteler wrote:
> It is likely g.extension in 6.4 and 6.5 and the related Makefile systems.
> Can you please make a try with GRASS 7? In GRASS 7 it is written
> in Python and the overall Makefile system is better.
> If it works for you in GRASS 7 we may think how to backport that.
No luck.  Is this a problem with shell script type addons?  The addon 
isn't a Python script (yet...)

g.extension output:

GRASS 7.0.svn (iceland_srtm):~/laptop/grassdata/iceland_srtm > 
g.extension r.denoise svnurl=https://svn.osgeo.org/grass/grass-addons/
Fetching 'r.denoise' from GRASS-Addons SVN (be patient)...
A    r.denoise/description.html
A    r.denoise/r.denoise
A    r.denoise/Makefile
Checked out revision 39791.
Compiling 'r.denoise'...
make: *** No rule to make target 
needed by `script'. Stop.
ERROR: Compilation failed, sorry. Please check above error messages.

r.denoise makefile:



include $(MODULE_TOPDIR)/include/Make/Script.make

default: script


Dr John Stevenson
Postdoctoral Research Associate
School of Earth, Atmospheric and Environmental Sciences
Williamson Building (Room 2.42)
University of Manchester
Manchester M13 9PL, UK
tel. +44(0)161 306 6585; fax. +44(0)161 306 9361;
john.stevenson at manchester.ac.uk 

More information about the grass-dev mailing list