The $LXCPATH (default /var/lib/lxc) directory was not being created by
make install, so unless it gets created by some other means
(packaging tools), commands such as lxc-create will fail.
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
pcdatadir = $(libdir)/pkgconfig
pcdata_DATA = lxc.pc
+install-data-local:
+ $(MKDIR_P) $(DESTDIR)$(LXCPATH)
+
ChangeLog::
@touch ChangeLog
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_libdir}/%{name}
+@LXCPATH@
%attr(4555,root,root) %{_libexecdir}/%{name}/lxc-init
%files devel