[lxc-devel] [lxc/lxc] 94863a: lua: respect configure's --prefix
    GitHub 
    noreply at github.com
       
    Tue Mar  4 15:59:30 UTC 2014
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 94863addaec3fabeafda9ac7df091a00416af013
      https://github.com/lxc/lxc/commit/94863addaec3fabeafda9ac7df091a00416af013
  Author: Natanael Copa <ncopa at alpinelinux.org>
  Date:   2014-03-04 (Tue, 04 Mar 2014)
  Changed paths:
    M configure.ac
    M src/lua-lxc/Makefile.am
  Log Message:
  -----------
  lua: respect configure's --prefix
Install lua files under the confiugred --prefix rather than use the
pkg-config's variables LUA_INSTALL_[CL]MOD.
Users will likely want user --prefix while packagers will use DESTDIR.
Set the default to $datadir/lua/$LUA_VERSION for arch independent
lua modules and $libdir/lua/$LUA_VERSION for arch dependant .so module.
This should work for most distros. If it does not, then packagers
can still do:
  make install lualibdir=$(pkg-config lua --variable=INSTALL_CMOD) ...
This fixes #169
Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Acked-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
    
    
More information about the lxc-devel
mailing list