[GRASS5] Re: 5.1: --html-description to parser added
Markus Neteler
neteler at itc.it
Tue Feb 4 11:18:35 EST 2003
On Tue, Feb 04, 2003 at 04:10:20PM +0100, Markus Neteler wrote:
> Derived from the --interface-description there is now
> --html-description
> available in the 5.1 parser (CVS).
A related question to this:
I would like to add a 'html' target to the 5.1 Makefiles.
Prerequisite:
- a file 'description.html' will contain further description, notes,
author etc, stored in the directory of module source code
Makefile 'html' target idea:
- generate first part of the man page on-the-fly with --html-description
- append 'description.html'
- write all as file 'module.html' into HTML target directory
Problem:
As G_gisinit() is used in every module, I cannot directly run
in the Makefile:
html:
$(GISBASE)/etc/bin/cmd/$(PGM) --html-description <something>
<add description.html>
...
unless there is a fake GRASS session.
Is there a better way than faking a GRASS session (hope so!)?
Markus
More information about the grass-dev
mailing list