Commit 70542ef9 by Stéphane Graber

Don't hardcode path to templates

configure.ac used to set the template path to /usr/share/lxc/templates. Instead use ${datadir} to make it follow ${prefix}. Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 55116c42
......@@ -74,7 +74,7 @@ AS_AC_EXPAND(LXC_GENERATE_DATE, "$(date)")
AC_SUBST(LXCPATH, "${with_config_path}")
AC_SUBST(LXCROOTFSMOUNT, "${with_rootfs_path}")
AC_SUBST(LXCINITDIR, ['${libexecdir}'])
AC_SUBST(LXCTEMPLATEDIR, ['/usr/share/lxc/templates'])
AC_SUBST(LXCTEMPLATEDIR, ['${datadir}/lxc/templates'])
AC_CHECK_HEADERS([linux/unistd.h linux/netlink.h linux/genetlink.h],
[],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment