[GRASS-dev] [GRASS-SVN] r62246 - grass/trunk/include/Make

Markus Neteler neteler at osgeo.org
Tue Oct 21 05:25:36 PDT 2014


On Tue, Oct 21, 2014 at 4:08 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Vaclav Petras wrote:
>
>> can you please comment on 62246 or add documentation for it? Commit message
>> does not tell much,
>
> $(RELDIR) is simply the current directory relative to the root of the
> GRASS source tree.
>
>> it is not (yet?) used anywhere
>
> I have no plans to use in the Makefiles. I added it mainly so that the
> user can use e.g.
>
>         make 'OBJDIR=$(GRASS_HOME)/OBJ.$(ARCH)/$(RELDIR)' ...
>
> to place all[1] intermediate files in a single directory (which
> doesn't have to be within the GRASS source tree) rather than scattered
> throughout the source directory. This may be desirable for multiple
> builds for a single $(ARCH) or for performing builds from a read-only
> source tree.
>
> [1] Currently, the files generated by lex/yacc are placed in the
> source directory rather than in $(OBJDIR).

Would that also address (to some extent) this request?

http://trac.osgeo.org/grass/ticket/1465
"Out-of-place builds unsupported"

?

Markus


More information about the grass-dev mailing list