[GRASS5] Re: 5.7: man pages generated now

Glynn Clements glynn at gclements.plus.com
Fri Nov 5 01:03:00 EST 2004


Markus Neteler wrote:

> two problems are remaining for the MAN page creation in 5.7:
> 
> 1) this error:
> cd man
> make
> ...
> Converting: xganim.html to /home/neteler/soft/57grass_cvsexp/dist.i686-pc-linux-gnu/man/man1/xganim.1
> /bin/sh: line 1: [: too many arguments
> make[1]: Leaving directory `/home/neteler/soft/57grass_cvsexp/man'
> 
> I don't know why and where it appears in the Makefile.

Please start from mk/Makefile.docs in 5.3, not html/Gmakefile.

If you want to generate a file only if it doesn't exist or if it is
older than its source file, use "make" (as opposed to writing a
mini-make using /bin/sh and getModTime).

Also, g.html2man should probably go into the "tools" directory rather
than "scripts", as it's only used when compiling.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list