[GRASS-dev] Standalone GUI modules: Makefile
Glynn Clements
glynn at gclements.plus.com
Mon Dec 3 11:03:25 PST 2012
Martin Landa wrote:
> > Html.make should be included, and variables and rules which are
> > defined there should be removed from GuiScript.make.
>
> sure, unfortunately it doesn't work without any extra care. When
> Html.make is included than
>
> `g.gui.%.tmp.html` from GuiScript is ignored and `%.tmp.html` from
> Html.make is used instead.
Right. It's supposed to choose the most-specific match (the one with
the shortest stem), but that was broken in 3.81; it just uses the
first match.
Placing the pattern rule for g.gui.%.tmp.html before Html.make is
included should avoid the issue.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list