mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Fix rpcgen call for separated builds.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user