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

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

 



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@xxxxxxxxxxx>
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

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]