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

[libvirt] [PATCH] build: depend on correct file



Otherwise, VPATH builds fail with:

make[1]: *** No rule to make target `libvirt-guests.init', needed by `all'.

Regression introduced in commit 482e08a9.

* daemon/Makefile.am (%.init): Look in correct place for
config.status.
---

Since this is a build-breaker (albeit only VPATH builds), and since I
introduced the bug, I'm pushing this fix.

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

diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 2f25c9d..df34ef1 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -239,7 +239,7 @@ uninstall-init:

 BUILT_SOURCES += libvirtd.init libvirt-guests.init

-%.init: %.init.in $(top_srcdir)/config.status
+%.init: %.init.in $(top_builddir)/config.status
 	$(AM_V_GEN)sed					\
 	    -e s!\ localstatedir\@! localstatedir@!g	\
 	    -e s!\ sbindir\@! sbindir@!g		\
-- 
1.7.0.1


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