[GRASS-dev] Wingrass and TclTk
glynn at gclements.plus.com
Wed Oct 31 09:08:51 EDT 2007
> > Hopefully, the Makefile issues should be solved now (insofar as you
> > can actually build everything; incremental re-compiling will have some
> > inefficiencies).
> There is still an issue with the docs.
> An updated description.html still does not trigger a rebuild of the help page.
> $ cd raster/r.los/
> $ touch description.html
> $ make
> make /usr/local/src/grass/grass63/dist.i686-pc-linux-gnu/docs/html/r.los.html HTMLSRC=/usr/local/src/grass/grass63/dist.i686-pc-linux-gnu/bin/r.los
> make: Entering directory `/usr/local/src/grass/grass63/raster/r.los'
> make: `/usr/local/src/grass/grass63/dist.i686-pc-linux-gnu/docs/html/r.los.html' is up to date.
> make: Leaving directory `/usr/local/src/grass/grass63/raster/r.los'
> "[$GISBASE]/docs/html/r.los.html' is up to date."
> no it isn't.
Not all modules have a description.html file, e.g. directories
containing multiple modules have the HTML files named after the
individual modules. If the <module>.html file had description.html as
a dependency, it would fail for any module which lacked a
We probably need something like:
ifeq($(shell test -f $(PGM).html && echo yes),yes)
HTMLDEPS := $(PGM).html
HTMLDEPS := description.html
$(HTMLDIR)/$(PGM).html: $(HTMLSRC) $(HTMLDEPS)
> 'rm r.los.tmp.html' doesn't help either.
> only 'rm $GISBASE/docs/html/r.los.html' triggers the rebuild.
"touch $GISBASE/bin/r.los" should also work; for the htmlcmd, htmletc
and htmlscript targets, the executable or script is added as a
prerequisite (and used to $(PGM).tmp.html file).
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev