[GRASS5] Re: 5.7: man pages generated now

Markus Neteler neteler at itc.it
Fri Nov 5 05:54:14 EST 2004


On Fri, Nov 05, 2004 at 06:03:00AM +0000, Glynn Clements wrote:
> 
> 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.

Oops. Good point.
 
> 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).

I was sort of distracted by the html/Gmakefile approach.

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

Done.

 Markus




More information about the grass-dev mailing list