[PATCH] make qemud/'s rpcgen rules work

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

 



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@xxxxxxxxxx>
---
 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

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]