Hamish wrote: > > 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[1]: Entering directory `/usr/local/src/grass/grass63/raster/r.los' > make[1]: > `/usr/local/src/grass/grass63/dist.i686-pc-linux-gnu/docs/html/r.los.html' is > up to date. > make[1]: 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 description.html file. We probably need something like: ifeq($(shell test -f $(PGM).html && echo yes),yes) HTMLDEPS := $(PGM).html else HTMLDEPS := description.html fi $(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 <[EMAIL PROTECTED]> _______________________________________________ grass-dev mailing list grass-dev@grass.itc.it http://grass.itc.it/mailman/listinfo/grass-dev