]> xenbits.xensource.com Git - libvirt.git/commitdiff
src: remote: generate source files into build directory
authorPavel Hrdina <phrdina@redhat.com>
Wed, 16 Oct 2019 12:52:23 +0000 (14:52 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 8 Nov 2019 16:07:57 +0000 (17:07 +0100)
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
.gitignore
build-aux/syntax-check.mk
po/POTFILES.in
src/remote/Makefile.inc.am

index 38d6637c1c32cce69e4475c239803786088a0a51..2d6e3e31949233e4052092598a11c94422dd3195 100644 (file)
@@ -41,6 +41,4 @@ Makefile.in
 # libvirt related ignores
 /build/
 /ci/scratch/
-/src/remote/*_client_bodies.h
-/src/remote/*_stubs.h
 tags
index 392fc343201ddcf6e49d2ed286dd580deabcaed7..ab9ba33c9c9ac603e1b6ebc2ed0dc6d8757fabe5 100644 (file)
@@ -1976,8 +1976,6 @@ po_file ?= $(srcdir)/po/POTFILES.in
 generated_files = \
   $(builddir)/src/*.[ch] \
   $(builddir)/src/*/*.[ch] \
-  $(srcdir)/src/*/{remote,qemu,lxc}_daemon_dispatch_stubs.h \
-  $(srcdir)/src/remote/*_client_bodies.h \
   $(srcdir)/gnulib/lib/*.[ch]
 
 _gl_translatable_string_re ?= \b(N?_|gettext *)\([^)"]*("|$$)
index ebd86a6cd3d2ef9852448eda609620ef277e6e50..de6e5ec0d9b28d6f397c30b1f5ba44689feb51f8 100644 (file)
@@ -3,6 +3,8 @@
 @BUILDDIR@/src/access/viraccessapicheckqemu.c
 @BUILDDIR@/src/admin/admin_client.h
 @BUILDDIR@/src/admin/admin_server_dispatch_stubs.h
+@BUILDDIR@/src/remote/remote_client_bodies.h
+@BUILDDIR@/src/remote/remote_daemon_dispatch_stubs.h
 @SRCDIR@/gnulib/lib/gai_strerror.c
 @SRCDIR@/gnulib/lib/regcomp.c
 @SRCDIR@/src/access/viraccessdriverpolkit.c
 @SRCDIR@/src/qemu/qemu_tpm.c
 @SRCDIR@/src/qemu/qemu_vhost_user.c
 @SRCDIR@/src/qemu/qemu_vhost_user_gpu.c
-@SRCDIR@/src/remote/remote_client_bodies.h
 @SRCDIR@/src/remote/remote_daemon.c
 @SRCDIR@/src/remote/remote_daemon_config.c
 @SRCDIR@/src/remote/remote_daemon_dispatch.c
-@SRCDIR@/src/remote/remote_daemon_dispatch_stubs.h
 @SRCDIR@/src/remote/remote_daemon_stream.c
 @SRCDIR@/src/remote/remote_driver.c
 @SRCDIR@/src/rpc/virkeepalive.c
index 7361d02cf4affea9cf592d072527793c92c821e7..242eb3ed2d83538201bf87a6362fc99f5ffbc2e8 100644 (file)
@@ -427,37 +427,37 @@ remote/remote_client_bodies.h: $(srcdir)/rpc/gendispatch.pl \
                $(REMOTE_PROTOCOL) Makefile.am
        $(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=client \
          remote REMOTE $(REMOTE_PROTOCOL) \
-         > $(srcdir)/remote/remote_client_bodies.h
+         > remote/remote_client_bodies.h
 
 remote/lxc_client_bodies.h: $(srcdir)/rpc/gendispatch.pl \
                $(LXC_PROTOCOL) Makefile.am
        $(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=client \
          lxc LXC $(LXC_PROTOCOL) \
-         > $(srcdir)/remote/lxc_client_bodies.h
+         > remote/lxc_client_bodies.h
 
 remote/qemu_client_bodies.h: $(srcdir)/rpc/gendispatch.pl \
                $(QEMU_PROTOCOL) Makefile.am
        $(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/gendispatch.pl --mode=client \
          qemu QEMU $(QEMU_PROTOCOL) \
-         > $(srcdir)/remote/qemu_client_bodies.h
+         > remote/qemu_client_bodies.h
 
 remote/remote_daemon_dispatch_stubs.h: $(srcdir)/rpc/gendispatch.pl \
                $(REMOTE_PROTOCOL) Makefile.am
        $(AM_V_GEN)$(PERL) -w $(top_srcdir)/src/rpc/gendispatch.pl \
          --mode=server remote REMOTE $(REMOTE_PROTOCOL) \
-         > $(srcdir)/remote/remote_daemon_dispatch_stubs.h
+         > remote/remote_daemon_dispatch_stubs.h
 
 remote/lxc_daemon_dispatch_stubs.h: $(srcdir)/rpc/gendispatch.pl \
                $(LXC_PROTOCOL) Makefile.am
        $(AM_V_GEN)$(PERL) -w $(top_srcdir)/src/rpc/gendispatch.pl \
          --mode=server lxc LXC $(LXC_PROTOCOL) \
-         > $(srcdir)/remote/lxc_daemon_dispatch_stubs.h
+         > remote/lxc_daemon_dispatch_stubs.h
 
 remote/qemu_daemon_dispatch_stubs.h: $(srcdir)/rpc/gendispatch.pl \
                $(QEMU_PROTOCOL) Makefile.am
        $(AM_V_GEN)$(PERL) -w $(top_srcdir)/src/rpc/gendispatch.pl \
          --mode=server qemu QEMU $(QEMU_PROTOCOL) \
-         > $(srcdir)/remote/qemu_daemon_dispatch_stubs.h
+         > remote/qemu_daemon_dispatch_stubs.h
 
 libvirtd.8.in: remote/libvirtd.pod
        $(AM_V_GEN)$(POD2MAN) --section=8 $< $@-t1 && \