[GRASS5] 5.7: man pages generated now
Markus Neteler
neteler at itc.it
Thu Nov 4 12:12:44 EST 2004
On Thu, Nov 04, 2004 at 06:48:57PM +1300, Hamish wrote:
> just to note r.terraflow is also missing from the raster index.
>
I have added more 'fakestart' support to various modules.
Now the list of modules still causing problems is shrinked
to
cd dist.$ARCH/docs/html
find . -name "*.html"|xargs fgrep --files-without-match DOCTYPE
./d.rast.edit.html
./g.access.html
./g.parser.html
./g3.region.html
./g.setproj.html
./i.ask.html
./i.class.html
./i.find.html
./i.ortho.photo.html
./photo.2image.html
./photo.2target.html
./photo.camera.html
./photo.elev.html
./photo.init.html
./photo.rectify.html
./photo.target.html
./i.points.html
./i.vpoints.html
./r.coin.html
./r.digit.html
./r.le.setup.html
./r.mapcalc.html
./r3.mapcalc.html
./r.region.html
./ram.html
./seg.html
./r.terraflow.html
./r3.mask.html
./d.redraw.html
./pg.postgisdb.html
./v.build.all.html
In fact they seem to be all modules not using G_parser().
Currently I have no idea how to solve this problem.
Maybe by adding
char *fakestart;
/* fake session for HTML generation with parser */
fakestart = getenv( "GRASS_FAKE_START" );
if ( fakestart != NULL )
return 0;
at the beginning of the related modules (so to exit immediately)?
And/or: adding some script magic to test for presence of DOCTYPE in
the generated HTML if, if not present, add generic header/footer.
In order to get the HTML/MAN pages complete.
Let me know
Markus
More information about the grass-dev
mailing list