Martin Landa wrote:
Placing the pattern rule for g.gui.%.tmp.html before Html.make is
included should avoid the issue.
thanks for the clarification. Unfortunately placing Html.make after
`g.gui.%.tmp.html` doesn't seems to help.
The attached version works for me with make 3.82. I don't
Hi,
2012/12/5 Glynn Clements gl...@gclements.plus.com:
The attached version works for me with make 3.82. I don't have 3.81 to
test with, but I would have thought that there would be some
formulation which results in g.gui.%.tmp.html being preferred over
%.tmp.html.
unfortunately it's not
Hi,
2012/12/5 Martin Landa landa.mar...@gmail.com:
If there isn't, the common definitions (htmldesc, IMGSRC, IMGDST) and
pattern rules ($(HTMLDIR)/%.png, $(HTMLDIR)/%.jpg) should be moved to
a separate file which can then be included from both Html.make and
GuiScript.make.
seems to be an
Martin Landa wrote:
If there isn't, the common definitions (htmldesc, IMGSRC, IMGDST) and
pattern rules ($(HTMLDIR)/%.png, $(HTMLDIR)/%.jpg) should be moved to
a separate file which can then be included from both Html.make and
GuiScript.make.
seems to be an option. Martin
OK, done
2012/12/5 Glynn Clements gl...@gclements.plus.com:
One solution is to modify mkhtml.py to allow the inclusion of the
.tmp.html file to be suppressed. Another is to explicitly order the
builds, e.g.:
guiscript: $(IMGDST) $(PYFILES)
$(MAKE) $(CMDHTML)
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
Hi,
2012/12/3 Glynn Clements gl...@gclements.plus.com:
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
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
On 10 November 2012 19:22, Glynn Clements gl...@gclements.plus.com wrote:
Vaclav Petras wrote:
Now, I'm asking for help with Makefile for this module. Martin helped
me a lot in identifying what has to be done and he prepared the
Makefile [2]. But this Makefile need to be generalized in order
Vaclav Petras wrote:
Now, I'm asking for help with Makefile for this module. Martin helped
me a lot in identifying what has to be done and he prepared the
Makefile [2]. But this Makefile need to be generalized in order to
avoid code duplication. I'm not able to do it so I'm asking you to
Hi devs,
before asking for help I will introduce you to the topic. In r52629
[1] I tried to implement the idea of standalone GUI modules for Map
Swipe. These modules should be similar to wxGUI components but they
are intended to be launched in the same way as standard modules.
The implementation
11 matches
Mail list logo