[GRASS5] html to man conversion

Michel Wurtz mw at teledetection.fr
Thu Nov 30 13:39:02 EST 2000


Markus Neteler wrote:
> 
> On Thu, Nov 30, 2000 at 04:29:57PM +0100, mlennert at club.worldonline.be wrote:

> > > Michel, do you have an idea?
> >
> > Well, I did the update of the Gmakefile after the compilation and now I
> > didn't get any error messages anymore. I don't no, if for some reason I
> > didn't get the latest version of the cvs tree (but I did erase the entire
> > tree and reinstalled it, following the instructions) or wether something
> > else later in the compilation process made the compilation the html
> > directory possible...
> Strange.
> 
> > I can't check wether the manual pages work because
> > Grass isn't running yet. In the grass5/man directory, only man1 has any
> > content at all. The other ones (man2-5 and help) are empty and only man1
> > has 'man' as its owner.
> Yes, only man1 will contain *all* files as no "classification" is done (due
> to the fact that html files are the source). We *may* add a keyword to each
> page to allow separations and storage into different man? directories. But
> personally I don't think that this extra works makes much sense.

Well, sorry for not being very reactive, but I'm a little overloaded,
and worse, the network here is in maintenance : I won't have any access
until next week !

The `chown' line works only if root runs make.  The problem is
that the index is made by a program suid man, so if the user "man"
cannot write in the man directory, you get an error message each
time g.html2man runs ! On the other hand a "normal" user cannot
give the directory to man (or cannot write man pages after that)

A better idea is to say "chmod a+w $(MANDIR)", and to restore
the read-only flag after all pages are created (for security
reasons). Sorry, I have no time (and no network) until next week
to do that ! but it's straightforward ;-)

--
Michel WURTZ - DIG - Maison de la télédétection
               500, rue J.F. Breton
               34093 MONTPELLIER Cedex 5

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list