mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
build: generate files when building without libvirtd
Steps to reproduce this problem: 1. # ./autogen.sh --without-libvirtd 2. # make dist ... make[1]: Entering directory `/home/wency/source/libvirt-nodaemon/daemon' make[1]: *** No rule to make target `remote_dispatch_prototypes.h', needed by `distdir'. Stop. make[1]: Leaving directory `/home/wency/source/libvirt-nodaemon/daemon' make: *** [distdir] Error 1
This commit is contained in:
parent
2d3fac19e1
commit
7ed95b2c4f
@ -53,6 +53,59 @@ EXTRA_DIST = \
|
||||
|
||||
BUILT_SOURCES =
|
||||
|
||||
REMOTE_PROTOCOL = $(top_srcdir)/src/remote/remote_protocol.x
|
||||
QEMU_PROTOCOL = $(top_srcdir)/src/remote/qemu_protocol.x
|
||||
|
||||
$(srcdir)/remote_dispatch_prototypes.h: $(srcdir)/remote_generator.pl \
|
||||
$(REMOTE_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -c -p remote \
|
||||
$(REMOTE_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/remote_dispatch_table.h: $(srcdir)/remote_generator.pl \
|
||||
$(REMOTE_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -c -t remote \
|
||||
$(REMOTE_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/remote_dispatch_args.h: $(srcdir)/remote_generator.pl \
|
||||
$(REMOTE_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -c -a remote \
|
||||
$(REMOTE_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/remote_dispatch_ret.h: $(srcdir)/remote_generator.pl \
|
||||
$(REMOTE_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -c -r remote \
|
||||
$(REMOTE_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/remote_dispatch_bodies.h: $(srcdir)/remote_generator.pl \
|
||||
$(REMOTE_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -c -b remote \
|
||||
$(REMOTE_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/qemu_dispatch_prototypes.h: $(srcdir)/remote_generator.pl \
|
||||
$(QEMU_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -p qemu \
|
||||
$(QEMU_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/qemu_dispatch_table.h: $(srcdir)/remote_generator.pl \
|
||||
$(QEMU_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -t qemu \
|
||||
$(QEMU_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/qemu_dispatch_args.h: $(srcdir)/remote_generator.pl \
|
||||
$(QEMU_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -a qemu \
|
||||
$(QEMU_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/qemu_dispatch_ret.h: $(srcdir)/remote_generator.pl \
|
||||
$(QEMU_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -r qemu \
|
||||
$(QEMU_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/qemu_dispatch_bodies.h: $(srcdir)/remote_generator.pl \
|
||||
$(QEMU_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -b qemu \
|
||||
$(QEMU_PROTOCOL) > $@
|
||||
|
||||
if WITH_LIBVIRTD
|
||||
|
||||
man8_MANS = libvirtd.8
|
||||
@ -208,59 +261,6 @@ endif
|
||||
remote.c: $(DAEMON_GENERATED)
|
||||
remote.h: $(DAEMON_GENERATED)
|
||||
|
||||
REMOTE_PROTOCOL = $(top_srcdir)/src/remote/remote_protocol.x
|
||||
QEMU_PROTOCOL = $(top_srcdir)/src/remote/qemu_protocol.x
|
||||
|
||||
$(srcdir)/remote_dispatch_prototypes.h: $(srcdir)/remote_generator.pl \
|
||||
$(REMOTE_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -c -p remote \
|
||||
$(REMOTE_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/remote_dispatch_table.h: $(srcdir)/remote_generator.pl \
|
||||
$(REMOTE_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -c -t remote \
|
||||
$(REMOTE_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/remote_dispatch_args.h: $(srcdir)/remote_generator.pl \
|
||||
$(REMOTE_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -c -a remote \
|
||||
$(REMOTE_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/remote_dispatch_ret.h: $(srcdir)/remote_generator.pl \
|
||||
$(REMOTE_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -c -r remote \
|
||||
$(REMOTE_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/remote_dispatch_bodies.h: $(srcdir)/remote_generator.pl \
|
||||
$(REMOTE_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -c -b remote \
|
||||
$(REMOTE_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/qemu_dispatch_prototypes.h: $(srcdir)/remote_generator.pl \
|
||||
$(QEMU_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -p qemu \
|
||||
$(QEMU_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/qemu_dispatch_table.h: $(srcdir)/remote_generator.pl \
|
||||
$(QEMU_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -t qemu \
|
||||
$(QEMU_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/qemu_dispatch_args.h: $(srcdir)/remote_generator.pl \
|
||||
$(QEMU_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -a qemu \
|
||||
$(QEMU_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/qemu_dispatch_ret.h: $(srcdir)/remote_generator.pl \
|
||||
$(QEMU_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -r qemu \
|
||||
$(QEMU_PROTOCOL) > $@
|
||||
|
||||
$(srcdir)/qemu_dispatch_bodies.h: $(srcdir)/remote_generator.pl \
|
||||
$(QEMU_PROTOCOL)
|
||||
$(AM_V_GEN)perl -w $(srcdir)/remote_generator.pl -b qemu \
|
||||
$(QEMU_PROTOCOL) > $@
|
||||
|
||||
LOGROTATE_CONFS = libvirtd.qemu.logrotate libvirtd.lxc.logrotate \
|
||||
libvirtd.uml.logrotate libvirtd.logrotate
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user