Add $localstatedir/log/libvirt/libxl when building libxenlight driver
---
 src/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 9b54679..3649106 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1275,6 +1275,7 @@ endif
 if WITH_LIBXL
        $(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/libvirt/libxl"
        $(MKDIR_P) "$(DESTDIR)$(localstatedir)/run/libvirt/libxl"
+       $(MKDIR_P) "$(DESTDIR)$(localstatedir)/log/libvirt/libxl"
 endif
 if WITH_UML
        $(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/libvirt/uml"
@@ -1316,6 +1317,7 @@ endif
 if WITH_LIBXL
        rmdir "$(DESTDIR)$(localstatedir)/lib/libvirt/libxl" ||:
        rmdir "$(DESTDIR)$(localstatedir)/run/libvirt/libxl" ||:
+       rmdir "$(DESTDIR)$(localstatedir)/log/libvirt/libxl" ||:
 endif
 if WITH_UML
        rmdir "$(DESTDIR)$(localstatedir)/lib/libvirt/uml" ||:
-- 
1.7.3.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to