[GRASS-dev] Standalone GUI modules: Makefile

Glynn Clements glynn at gclements.plus.com
Mon Dec 3 06:07:54 PST 2012


Martin Landa wrote:

> > So if you have a subdirectory for modules, you could do e.g.:
> >
> > MODULES := $(patsubst g.gui.%.py,%,$(wildcard g.gui.*.py))
> > CMDHTML := $(patsubst %,$(HTMLDIR)/g.gui.%.html,$(MODULES))
> > GUIHTML := $(patsubst %,$(HTMLDIR)/wgGUI.%.html,$(MODULES))
> > PYFILES := $(patsubst %,$(SCRIPTDIR)/g.gui.%,$(MODULES))
> 
> [...]
> 
> to avoid that this issue remains unsolved, I took liberty to commit
> suggested solution as GuiScript.make (r54150). Ideally Html.make could
> be included to avoid copying htmldesc routine and rules for installing
> images.

Html.make should be included, and variables and rules which are
defined there should be removed from GuiScript.make.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list