Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 94863addaec3fabeafda9ac7df091a00416af013
      https://github.com/lxc/lxc/commit/94863addaec3fabeafda9ac7df091a00416af013
  Author: Natanael Copa <[email protected]>
  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 <[email protected]>
Acked-by: Dwight Engen <[email protected]>
Acked-by: Stéphane Graber <[email protected]>


_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to