Re: [PATCH 0/8] Misc LCR build fixes / new installation directories

Jacek Konieczny <[email protected]>
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <[email protected]>
On Thu, Jun 28, 2012 at 08:38:56AM +0200, jolly wrote:
> patches 5,6,7 are not yet commited, because it changes "hardcoded" path
> "/usr/local/lcr" for installation of files. i would like to ask the
> community first what they think about installing LCR files to these
> locations:
> 
> --
> make install
> ...
> mkdir -p '/usr/local/etc/lcr'
> mkdir -p '/usr/local/share/lcr'
> mkdir -p '/usr/local/var/log/lcr'
> mkdir -p '/usr/local/var/lib/lcr/extensions'
> ...
> --

I don't quite understand what you suggest, but LCR should really comply
to the FHS standard: http://www.pathname.com/fhs/pub/fhs-2.3.html

'/usr/local' should only be used by manual installation from sources 
and packagers should be able to easily build LCR for installation in the
FHS directories (without '/usr/local' prefix)  and install it in
arbitrary installation prefix ($(DESTDIR)).

Generally this all is done with autoconf/automake, if used properly and
then all the paths can be configured via the 'configure' script - this
makes distribution packagers work much easier.

Greets,
        Jacek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.