[PATCH] Make qemud's install-init rule work in a non-srcdir build.

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

 



When building from other than the source directory,
several things currently fail.  This one fails because
$(srcdir)/libvirtd.init doesn't exist.  The libvirtd.init file
we want to install is the one just built, in the current directory.
Here's the fix:

	Make qemud's install-init rule work in a non-srcdir build.

	* qemud/Makefile.am: In the install-init, remove an unneeded
	$(srcdir)/ prefix.

---
 qemud/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemud/Makefile.am b/qemud/Makefile.am
index 506fde5..3da6265 100644
--- a/qemud/Makefile.am
+++ b/qemud/Makefile.am
@@ -95,7 +95,7 @@ remote_dispatch_proc_switch.h: remote_generate_stubs.pl remote_protocol.x
 if LIBVIRT_INIT_SCRIPTS_RED_HAT
 install-init: libvirtd.init
 	mkdir -p $(DESTDIR)$(sysconfdir)/rc.d/init.d
-	$(INSTALL_SCRIPT) $(srcdir)/libvirtd.init $(DESTDIR)$(sysconfdir)/rc.d/init.d/libvirtd
+	$(INSTALL_SCRIPT) libvirtd.init $(DESTDIR)$(sysconfdir)/rc.d/init.d/libvirtd
 	mkdir -p $(DESTDIR)$(sysconfdir)/sysconfig
 	$(INSTALL_SCRIPT) $(srcdir)/libvirtd.sysconf $(DESTDIR)$(sysconfdir)/sysconfig/libvirtd

--
1.5.3.5.643.g40e25

--
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]