[GRASS-dev] Standalone GUI modules: Makefile

Martin Landa landa.martin at gmail.com
Mon Dec 3 01:52:36 PST 2012


Hi,

2012/11/12 Glynn Clements <glynn at gclements.plus.com>:
> 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.

Thanks for a review in advance, Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list