From 13fba490cdbcea2371ca11593767087dbf0c21c3 Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Wed, 1 May 2013 23:15:48 +0200 Subject: [PATCH] Fix rpcgen call for separated builds. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 1aa028faa..57cdf3441 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -198,14 +198,14 @@ endif guestfs_protocol.c: guestfs_protocol.x rm -f $@-t $@-t2 - $(RPCGEN) $(RPCGEN_DEFS) -c -o $@-t $(srcdir)/$< + $(RPCGEN) $(RPCGEN_DEFS) -c -o $@-t $< sed 's,\.\./\(\.\./\)*src,.,' < $@-t > $@-t2 rm $@-t mv $@-t2 $@ guestfs_protocol.h: guestfs_protocol.x rm -f $@-t - $(RPCGEN) $(RPCGEN_DEFS) -h -o $@-t $(srcdir)/$< + $(RPCGEN) $(RPCGEN_DEFS) -h -o $@-t $< mv $@-t $@ endif