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 r54199. Martin
Note that the current approach is incompatible with parallel builds.
If g.gui.%.html and wxGUI.%.html are built concurrently, the latter
may try to delete the g.gui.%.tmp.html file while the former is using
it.
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)
-rm -f g.gui.*.tmp.html
$(MAKE) $(GUIHTML)
.PHONY: guiscript
--
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev