<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<DEFANGED_meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hamish wrote:
<blockquote cite="mid20050614125650.4537399c.hamish_nospam@yahoo.com"
type="cite">
<blockquote type="cite">
<pre wrap="">I have modified some of the modules of GRASS 5.3 (eg.
d.rast.edit) and added them to GRASS 5.3 using gmake53
and gmakelinks53.
I have now installed GRASS6.0 and I want to add the
modified modules of GRASS5.3 to GRASS6.0
I cant find the gmake and the gmakelinks command for GRASS 6.0
Kindly enlighten me on how to add modified modules to
GRASS6.0
</pre>
</blockquote>
<pre wrap=""><!---->
As Markus said, gmake & gmakelinks have been simplified to just "make".
copy the Makefile from a nearby module and modify to suit, then,
from the INSTALL file:
COMPILING INDIVIDUAL MODULES - OWN MODULES
Compiling self-made GRASS modules or modified modules:
Simply run "make" in the appropriate directory
and then install with "INST_NOW=y make".
It is not necessary to install the full distribution.
You may want to make an alias: alias gmake='INST_NOW=y make'
Hamish
</pre>
</blockquote>
Thanks Hamish,<br>
Now i have successfully added my modified modules of GRASS 5.3 to GRASS
6.0<br>
I copied the GRASS 5.3 module into my GRASS6.0 source directory.<br>
Then all I had to do was to copy the Makefile from the nearby GRASS6.0
module into <br>
my GRASS5.3 module and modify only the PGM and then run make command <br>
in the module directory.<br>
and then copy the executable from
$GRASS_INS/grass-6.0.0/dist.i686-pc-linux-gnu/bin/<br>
to $GRASS_INS/grass-6.0.0/bin<br>
where $GRASS_INS is my GRASS install directory.<br>
<br>
ODULE_TOPDIR = ../..<br>
<br>
PGM = d.rast.edit_hyrda_new<br>
<br>
LIBES = $(DISPLAYLIB) $(RASTERLIB) $(GISLIB)<br>
DEPENDENCIES= $(DISPLAYDEP) $(RASTERDEP) $(GISDEP)<br>
<br>
include $(MODULE_TOPDIR)/include/Make/Module.make<br>
<br>
default: cmd<br>
<br>
<br>
<br>
Regards<br>
<br>
Nagesh Bhatkar<br>
Physical Oceanography Division<br>
National Institute of Oceanography<br>
India - Goa<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>