[GRASS5] Re: [Pkg-grass-general] Re: Bug#264566: Any progress on grass 5.7?

Glynn Clements glynn.clements at virgin.net
Thu Oct 14 21:08:36 EDT 2004


Markus Neteler wrote:

> > ./configure --help shows:
> > --mandir=DIR            man documentation in DIR [PREFIX/man]
> > 
> > If it was installed according to that option I could use
> > --mandir=/usr/share/man to get it where it needs to go in debian.
> > 
> > Thanks!
> > Steve
> 
> Should it go into
>  ./man
> then? No idea.

Currently, we only honour --bindir; everything else goes into specific
directories under --prefix.

Using --mandir would be straightforward enough; for 5.3:

+	MANDIR=			@mandir@


-	${SHELL} -c "cd ${GISBASE} ; tar cBf - man | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null ; true"
+	${SHELL} -c "cd ${GISBASE}/man ; tar cBf - . | (cd ${MANDIR} ; tar xBf - ) 2>/dev/null ; true"

5.7 doesn't install man pages currently, but the same principle
applies.

However, "make uninstall" will no longer work. As the GRASS manpages
will then be in the same directory as those from other packages,
uninstallation would require a list of filenames; you can't just
"rm -rf" a directory.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list