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

[libvirt] [PATCH] fix non-srcdir build failure



"make distcheck" was failing.
This fixes it and adds some quotes.

>From 8b6f9ff168dd0ce7318f1947a7766a4b223acdd4 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering redhat com>
Date: Thu, 8 Jan 2009 20:53:30 +0100
Subject: [PATCH] fix non-srcdir build failure

* qemud/Makefile.am (check-local): Prefix use of test_libvirtd.aug
with $(srcdir)/.  Add quotes around $(AUGPARSE), in case it expands
to something unusual.
---
 qemud/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/qemud/Makefile.am b/qemud/Makefile.am
index 8983416..ad4ccf1 100644
--- a/qemud/Makefile.am
+++ b/qemud/Makefile.am
@@ -239,7 +239,8 @@ libvirtd.init: libvirtd.init.in
 	mv $ -t $@

 check-local:
-	if [ -x $(AUGPARSE) ]; then $(AUGPARSE) -I $(srcdir) test_libvirtd.aug ; fi
+	test -x '$(AUGPARSE)' \
+	  && '$(AUGPARSE)' -I $(srcdir) $(srcdir)/test_libvirtd.aug || :

 else

--
1.6.1.141.gfe98e


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