[GRASS-dev] Re: [GRASS-SVN] r49122 - grass/branches/develbranch_6/include/Make

Glynn Clements glynn at gclements.plus.com
Wed Nov 9 01:18:26 EST 2011

Hamish wrote:

> > If g.html2man is required in order to build add-ons, then it should be
> > installed as part of the GRASS build process, and subsequently
> > referenced via $(GISBASE), as is done in 7.0.
> this is the approach taken in r49126 and r49127.
> hopefully everything works now, and is kosher ta boot.

Man.make still uses MODULE_TOPDIR to locate g.html2man.

If it's going to use it "in place", either it should use $(GRASS_HOME)
or SRCDIR should be set in Platform.make.in. MODULE_TOPDIR isn't
intended to be an alias for SRCDIR; it's for bootstrapping, i.e. for
finding the *.make files where all of the variables are defined.

[GRASS_HOME is set to $(DSTDIR), which is the current directory when
configure is run, while $(SRCDIR) is the directory containing the
configure script. If we supported out-of-place builds, $(SRCDIR) and
$(DSTDIR) could differ.]

7.0 installs g.html2man.py to $(ARCH_DISTDIR)/tools at the start of
the build process, and the rest of the build process accesses it from
there (specifically, as $(GISBASE)/tools/g.html2man.py).

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list