[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Libvir] [PATCH] make qemud/'s rpcgen rules work
- From: Jim Meyering <jim meyering net>
- To: Libvirt <libvir-list redhat com>
- Subject: [Libvir] [PATCH] make qemud/'s rpcgen rules work
- Date: Wed, 27 Feb 2008 19:26:15 +0100
I applied Rich's patch and found that qemud/remote_protocol.c
was not automatically rebuilt. Since the Makefile rule
is an implicit one using a non-default suffix (.x),
you have to tell make about the new suffix.
In straight make, you'd have to add ".SUFFIXES: .x"
but with automake, it is recommended to use the SUFFIXES variable:
Make qemud/'s rpcgen rules work.
* qemud/Makefile.am (SUFFIXES): Define to .x before implicit rule.
Signed-off-by: Jim Meyering <meyering redhat com>
---
qemud/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemud/Makefile.am b/qemud/Makefile.am
index 1e1f861..3094b18 100644
--- a/qemud/Makefile.am
+++ b/qemud/Makefile.am
@@ -14,6 +14,7 @@ EXTRA_DIST = libvirtd.init.in libvirtd.sysconf default-network.xml \
libvirtd.conf
if RPCGEN
+SUFFIXES = .x
.x.c:
rm -f $@
rpcgen -c -o $@ $<
--
1.5.4.3.231.gc0a6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]