[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] fix build in separate build-dir



Hi,
building in a separate build dir is currently broken since the Makefile
is looking for libvirt.policy in the wrong location. Fix attached.
Cheers,
 -- Guido
>From 39bba201df8e3962001e950e82faf989751b7c37 Mon Sep 17 00:00:00 2001
From: Guido Guenther <agx sigxcpu org>
Date: Sun, 5 Oct 2008 21:30:03 +0200
Subject: [PATCH] look for the policy file in $(srcdir)

fixes build in separte build dir.
---
 qemud/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemud/Makefile.am b/qemud/Makefile.am
index 5d6ff63..56275f6 100644
--- a/qemud/Makefile.am
+++ b/qemud/Makefile.am
@@ -138,7 +138,7 @@ endif
 if HAVE_POLKIT
 install-data-polkit:: install-init
 	mkdir -p $(DESTDIR)$(policydir)
-	$(INSTALL_DATA) libvirtd.policy $(DESTDIR)$(policydir)/org.libvirt.unix.policy
+	$(INSTALL_DATA) $(srcdir)/libvirtd.policy $(DESTDIR)$(policydir)/org.libvirt.unix.policy
 uninstall-data-polkit:: install-init
 	rm -f $(DESTDIR)$(policydir)/org.libvirt.unix.policy
 else
-- 
1.5.6.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]