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

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



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


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