[libvirt] [PATCH] make: fix VPATH build for libvirtd augeas check

Daniel P. Berrangé posted 1 patch 6 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180222133349.26238-1-berrange@redhat.com
Test syntax-check passed
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] make: fix VPATH build for libvirtd augeas check
Posted by Daniel P. Berrangé 6 years, 2 months ago
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index b8e2cbf139..41a3cb2628 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2297,7 +2297,7 @@ check-augeas-virtlogd: test_virtlogd.aug
 if WITH_LIBVIRTD
 test_libvirtd.aug: remote/test_libvirtd.aug.in \
 		remote/libvirtd.conf $(AUG_GENTEST)
-	$(AM_V_GEN)$(AUG_GENTEST) remote/libvirtd.conf $< $@
+	$(AM_V_GEN)$(AUG_GENTEST) $(srcdir)/remote/libvirtd.conf $< $@
 
 check-augeas-libvirtd: test_libvirtd.aug
 	$(AM_V_GEN)if test -x '$(AUGPARSE)'; then \
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] make: fix VPATH build for libvirtd augeas check
Posted by Jiri Denemark 6 years, 2 months ago
On Thu, Feb 22, 2018 at 13:33:49 +0000, Daniel P. Berrangé wrote:
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  src/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index b8e2cbf139..41a3cb2628 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -2297,7 +2297,7 @@ check-augeas-virtlogd: test_virtlogd.aug
>  if WITH_LIBVIRTD
>  test_libvirtd.aug: remote/test_libvirtd.aug.in \
>  		remote/libvirtd.conf $(AUG_GENTEST)
> -	$(AM_V_GEN)$(AUG_GENTEST) remote/libvirtd.conf $< $@
> +	$(AM_V_GEN)$(AUG_GENTEST) $(srcdir)/remote/libvirtd.conf $< $@
>  
>  check-augeas-libvirtd: test_libvirtd.aug
>  	$(AM_V_GEN)if test -x '$(AUGPARSE)'; then \

ACK

Jirka

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