Request for clarification on menu/file spec

Stanislav Brabec sbrabec at suse.cz
Fri Feb 3 13:26:28 EET 2006


Thiago Macieira píše v Pá 03. 02. 2006 v 09:47 +0100:
> Waldo Bastian wrote:
> >datadir is an autoconf-ism, the implicit assumption here is that a
> > binary is installed to {prefix}/bin and it's data files to locations
> > under {prefix}/share. E.g. an application would install manpages to
> > {datadir}/man
> >
> That's a good example, actually. By default, autoconf sets mandir = 
> ${prefix}/man. But FHS and other standards require manpages to be 
> installed in ${datadir}/man instead. This means all package building 
> systems must already tweak the configure scripts to install manpages 
> properly.
> 
> So, if someone wants to install stuff in the home directory, they can just 
> use:
> configure --prefix=$HOME/myapp --bindir=$HOME/bin --datadir=$HOME/.local 
> --sysconfdir=$HOME/.config

No. configure is configurable using config.site mechanism.

For example see GNU-FHS:
http://ftp.penguin.cz/pub/users/utx/fhs/README
http://ftp.penguin.cz/pub/users/utx/fhs/

Please note that is still refers to old version of FHS
(i. e. /opt/vendor/man instead of /opt/vendor/share/man), but it's easy
to fix, if somebody wants to use it.

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SuSE CR, s. r. o.                             e-mail: sbrabec at suse.cz
Drahobejlova 27                               tel: +420 296 542 382
190 00 Praha 9                                fax: +420 296 542 374
Czech Republic                                http://www.suse.cz/




More information about the xdg mailing list